I am new on Linux, OpenCV and deep learning, in fact I just started with these things a couple weeks ago.
In my reserches I found a lot of people saying that is much better use OpenCV on Linux than on Windows, so, that is what I am doing. I installed an Ubuntu distro on a VM and I am using it to study.
But today a doubt came up into my mind. It would be possible to write an OpenCV app on Linux and use it on Windows? I’ve read a lot and I couldn’t find a satisfatory answer.
Maybe this is a silly question, but as I said, I am very new on all of that stuff.
For now, I am just studying and I am really feeling like learning Linux, but when I’ll really start to build my applications it will be important to being able to run them on Windows.
So, if this is possible, is there some specific things that I should do to make the trasition easier?
Advertisement
Answer
There is absolutely no difference in the syntaxes of opencv between different operating systems. (Well, I used both and didn’t bother me.) So it should be fine as long as you have the same version of Opencv installed as there are differences between opencv 3x and opencv 4x.