[Noobie] Do I need to complie OpenCV to do anything?...
Greetings, I wish to use OpenCV to do image opencv with an Raspberry Pi Zero W. I wish to create custom haar cascades for various brands or logos. I'm currently in the process of installing and configuring OpenCV on the Rpi Zero. All the tutorials say I need to compile OpenCV, which will take around 10 hours!
My question is can I compile OpenCV on my powerful desktop to create the haar cascades. Then just use like the python-opencv package or library on the Rpi? I saw one suggestion to install opencv via conda and pip. https://anaconda.org/conda-forge/opencv (Despite that being 64 bit.)
Thanks!
Nope, cross compiling is a hassle and never really works. You will just have to put it on, and continue working the next day.
I don't believe I'm talking about cross compiling exactly except for conda.
I got many error 2s while compiling on the rpi. I got up to 50%. But one "solution" I found for the next issue broke my make files or something so it's back to square one. fubar type of situation. I can only expect my next attempt to do the same.
@datguy.dev. I haven't attempted pi zero(i'm too lazy). You can install OpenCV and then download zip and run it. If you see 4 errors on prompt or debug window, just ignore it.
You can run on pc desktop. You must burn img on dvd or cd.
If you want to compile. Kindly, use make J1 not j2 or j4. Using make j1 will take about 3 hrs
" I wish to create custom haar cascades for various brands or logos" -- just saying, use your pi for detecting things, but train on a beefy pc, not a raspi.
@berak. Can do both pc and mac.
@supra56 please stop. @berak yep.
@supra56, can you please stop your comments, adding
j1
is just plain stupid, you literally tell it to use a single core, but it does that by default. Also most of your comments make no sense at all.