Skip to content

Commit 907efb9

Browse files
committed
Merge pull request #2994 from archit120:julia_phase1
2 parents 66f4ad4 + 1b88234 commit 907efb9

File tree

2 files changed

+31
-2
lines changed

2 files changed

+31
-2
lines changed

modules/julia/README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,21 @@ OpenCV Julia Bindings
22
============================
33
This module contains some limited functionality that allows OpenCV functions be used from Julia. Upon installation the binding files are automatically registered with Julia's package manager like any normal package.
44

5-
This module requires Julia 1.4 and the CxxWrap.jl 0.10.
5+
This module requires Julia 1.4 and the CxxWrap.jl 0.10 when built from source. To use the compiled binary distributions Julia 1.6 is recommended.
6+
7+
Using Prebuilt Binaries
8+
---
9+
The easiest way to use OpenCV from Julia bindings is to use the version registered with Julia's package manager. This is also the only tested way to use Julia bindings on Windows. To do that simply start the Julia REPL. Hit `]` and then type `add OpenCV`.
10+
11+
```bash
12+
$ julia
13+
...
14+
julia> ]
15+
pkg> add OpenCV
16+
```
17+
18+
---
19+
The following steps walk over a source build of the Julia bindings.
620

721
CxxWrap Installation
822
----
@@ -31,6 +45,8 @@ Install
3145
-------
3246
By default the Julia package is installed in `CMAKE_BINARY_DIR`, you can change this by setting the `JULIA_PKG_INSTALL_PATH` cmake variable. The package is automatically registered with the Julia package manager.
3347

48+
---
49+
3450
Run
3551
---
3652

modules/julia/tutorials/julia.markdown

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,18 @@ The OpenCV bindings for Julia are created automatically using Python scripts at
2020

2121
The generation process and the method by which the binding works are similar to the Python bindings. The only major difference is that CxxWrap.jl does not support optional arguments. As a consequence, it's necessary to define the optional arguments in Julia code which adds a lot of additional complexity.
2222

23+
How To Install The Bindings
24+
-----------------------
25+
The easiest and recommended way to install the bindings is using Julia's inbuilt package manager. OpenCV is available as a registered package for Julia and is supported on all major platforms and architectures. The following steps checked for correctness on Julia v1.6.1
26+
27+
TO install start the Julia REPL. Hit `]` and then type `add OpenCV`.
28+
29+
```bash
30+
$ julia
31+
...
32+
julia> ]
33+
pkg> add OpenCV
34+
```
2335

2436
How To Build The Bindings
2537
-----------------------
@@ -130,8 +142,9 @@ Note: The sample might take some time to load.
130142
Contributors
131143
------------
132144

133-
Below is the list of contributors of OpenCV.js bindings and tutorials.
145+
Below is the list of contributors of OpenCV.jl bindings and tutorials.
134146

135147
- Archit Rungta (Author of the initial version and GSoC student, Indian Institute of Technology, Kharagpur)
136148
- Sayan Sinha (GSoC mentor, Indian Institute of Technology, Kharagpur)
149+
- Mosè Giordano (GSoC Phase 2 mentor)
137150
- Vadim Pisarevsky (GSoC mentor)

0 commit comments

Comments
 (0)