# OpenCV on windows

**URL:** <https://discourse.julialang.org/t/opencv-on-windows/20499>\
**Category:** Visualization\
**Tags:** question\
**Created:** [February 6, 2019, 8:26am UTC](https://discourse.julialang.org/t/opencv-on-windows/20499 "2019-02-06T08:26:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![phlavenk](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/phlavenk/32/1873_2.png) [@phlavenk](https://discourse.julialang.org/u/phlavenk)\
**Post date:** [February 6, 2019, 8:26am UTC](https://discourse.julialang.org/t/opencv-on-windows/20499/1 "2019-02-06T08:26:46Z")

</div>

I’d like to ask what is the status and recommended approach for using OpenCV on windows. The `OpenCV.jl` uses `CXX.jl` for wrapping the C++ library and as such it is not really an option on Windows - the CXX package on windows is still not supported.

I know `Images.jl` is a very powerful package bundle and I’m using it on the daily basis, but I still miss many algorithms.

Does anybody know about other approach how to use the OpenCV fucnctionality. Did anybody try to wrap it through python interface (the way `PyPlot.jl` is implemented)?

---

<div class="post-metadata">

**Author:** ![zygmuntszpak](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zygmuntszpak/32/2591_2.png) [@zygmuntszpak](https://discourse.julialang.org/u/zygmuntszpak)\
**Post date:** [February 6, 2019, 9:25am UTC](https://discourse.julialang.org/t/opencv-on-windows/20499/2 "2019-02-06T09:25:52Z")

</div>

I dont have a solution but could you elaborate on what functionality you require from OpenCV. Your input would help shape the development of Images package.

---

<div class="post-metadata">

**Author:** ![phlavenk](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/phlavenk/32/1873_2.png) [@phlavenk](https://discourse.julialang.org/u/phlavenk)\
**Post date:** [February 6, 2019, 1:40pm UTC](https://discourse.julialang.org/t/opencv-on-windows/20499/3 "2019-02-06T13:40:04Z")

</div>

What’s missing currently for my usecase are image registration algorithms (at least rigid body) for drift correction of image stack and Hough transformation. As I said this describes my current obstacles, but generally there is much more functionality that would be nice to have on hand (and people on Unix have it, its missing only for us running on Windows).

---

<div class="post-metadata">

**Author:** ![cdsousa](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cdsousa/32/215553_2.png) [@cdsousa](https://discourse.julialang.org/u/cdsousa)\
**Post date:** [February 6, 2019, 2:10pm UTC](https://discourse.julialang.org/t/opencv-on-windows/20499/4 "2019-02-06T14:10:08Z")

</div>

Well, you can also try to use the C API through ccalls (as I did [here](https://gist.github.com/cdsousa/5c707f767cd766bb9df79f837b90a1a9)) which is more or less straightforward although cumbersome.

---

<div class="post-metadata">

**Author:** ![Moses](https://avatars.discourse-cdn.com/v4/letter/m/278dde/32.png) [@Moses](https://discourse.julialang.org/u/Moses)\
**Post date:** [September 27, 2019, 7:17pm UTC](https://discourse.julialang.org/t/opencv-on-windows/20499/5 "2019-09-27T19:17:30Z")

</div>

Following up on this: Has there been any progress?  
As far as I understand it, `Cxx.jl` seems to have implemented basic Windows support now, but `OpenCV.jl` seems to be unmaintained.

As @phlavenk I am looking for image registration algorithms.

---

<div class="post-metadata">

**Author:** ![xor0110](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xor0110/32/7926_2.png) [@xor0110](https://discourse.julialang.org/u/xor0110)\
**Post date:** [October 8, 2019, 9:16am UTC](https://discourse.julialang.org/t/opencv-on-windows/20499/6 "2019-10-08T09:16:47Z")

</div>

Can you say exactly what OpenCV functions you have been working with? I frequently use findTransformECC and I’m thinking of writing a Julia alternative (I’m not even sure what’s available already). Are there other OpenCV functions of interest?

---

<div class="post-metadata">

**Author:** ![phlavenk](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/phlavenk/32/1873_2.png) [@phlavenk](https://discourse.julialang.org/u/phlavenk)\
**Post date:** [October 8, 2019, 3:28pm UTC](https://discourse.julialang.org/t/opencv-on-windows/20499/7 "2019-10-08T15:28:41Z")

</div>

I’ve migrated to the Images.jl framework for my code and I’m quite happy with it. I have only sometimes a desire to quickly try code of my colleagues (pyton/opencv), but for this purpose it is OK just make a PyCall to conda-installed opencv.
