New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't compile OpenCV from source due to lack of device memory #3
Comments
Added a swap file. See #5 . Promptly ran out out disk space about 2/3rds of the way through the build. |
why would you use OpenCV when this thing is built for TensorFlow ??? |
@CharlesCCC Not all computer vision is neural networks. |
okay, I got that. I just wasn't sure what's the reason behind it ? Like, what would be a good reason using Computer Vision without neural networks ?(if there other limitation ?) In addition, if you would like to use computer vision without neural networks(Not necessary Tensorflow, but let's just say it is). why would you pick a device like EdgeTPU (which is optimized for TensorFlow) vs. other SOC devices like Jettson Nano, RaspberryPi, Orange Pi etc. |
@CharlesCCC All good questions. Most computer vision pipelines "in the wild" have several steps. Some of those steps make use of the CPU and some of them make use of coprocessor hardware like GPUs and TPUs. Depending on the application, the CPU steps can just as easily be the throughput bottleneck. We're interested in providing engineers with clear decision criteria like, "When you want to do X, use device Y." Part of that process is benchmarking the hardware against common computer vision algorithms, both CPU-bound and coprocessor-bound implementations. OpenCV has the biggest selection of such implementations all in one place. |
I have not tried it myself, but this guide explains how to install OpenCV 4.0 from source on Google Coral Dev Board. |
Hi guys - With Mendel Day (4.0) you can install opencv as easy as this:
If you are using an older OS, I sugggest flashing a new image. Cheers! |
What I ran
$ sudo apt-get install python3-dev python3-venv $ python -m venv _venv35 $ source _venv35/bin/activate $ pip install --upgrade pip $ pip install conan $ conan install opencv/4.0.1@conan/stable --build=missing
What the docs said should happen
Build completes.
What actually happened
Build fails; out of memory.
The text was updated successfully, but these errors were encountered: