Comments (4)
I had an similar issue on my embedded Ubuntu board.
I was using OpenCv installed with apt-get
or pip
. My problem was solved after compiling OpenCv
How did you install OpenCv, and what Os do you use?
from face_classification.
Ubuntu 17.10 x64 desktop
pip install opencv2-python
or
pip3 install opencv-python
I do not remember exactly, but likely pip3 install opencv-python
$ sudo apt-get install opencv
not found this packege
may be i need reinstall opencv?
from face_classification.
You need to compile openCV since the pip installation does not include the VideoCapture functionalities. I would recommend following this guide. Which is the same guide I believe @mirceaciu gave you.
from face_classification.
Completely following the instructions, I ran into the problem in step where using cmake
The previous steps were fully implemented and passed successfully, but when entering the command
cmake -D CMAKE_BUILD_TYPE=RELEASE \
-D CMAKE_INSTALL_PREFIX=/usr/local \
-D INSTALL_PYTHON_EXAMPLES=ON \
-D INSTALL_C_EXAMPLES=OFF \
-D OPENCV_EXTRA_MODULES_PATH=~/opencv_contrib-3.1.0/modules \
-D PYTHON_EXECUTABLE=~/.virtualenvs/cv/bin/python \
-D BUILD_EXAMPLES=ON ..
in build dir with using workon cv
where cmake end i have
Configuring incomplete, errors occurred!
See also "/home/gubiniliya/opencv/opencv-3.3.0/build/CMakeFiles/CMakeOutput.log".
See also "/home/gubiniliya/opencv/opencv-3.3.0/build/CMakeFiles/CMakeError.log".
I tried restarting with deleting the build folder, but it did not help. I also tried to do this after rebooting - the same result
strange and the fact that the section Python is also not similar to the one in the instruction
I do everything for Python 3
--
-- Python 2:
-- Interpreter: NO
--
-- Python 3:
-- Interpreter: /home/gubiniliya/.virtualenvs/cv/bin/python3 (ver 3.6.3)
--
-- Python (for build): /home/gubiniliya/.virtualenvs/cv/bin/python3
--
I'll attach logs, maybe you'll advise something or tell me that you need some option to add or remove
CMakeError.log
CMakeOutput.log
Naturally to step make -j I can not go, because the project is not building
from face_classification.
Related Issues (20)
- Trying to convert emotion detection into TensorRT HOT 1
- use BP4D for train and get a bad result HOT 1
- Can't run application with docker HOT 2
- TypeError: zip argument #2 must support iteration
- OpenCV (4.1.1) - Error HOT 1
- Embedd face recognition
- IndexError: index 144 is out of bounds for axis 1 with size 100
- Getting Warning and doesn't run.
- [question] Is there such functionality as face tracking?
- Reduce number of emotions. HOT 1
- Does not return any inference or gender sometimes. HOT 2
- How do I create training data with fer2013 format
- If no face how to add a new function?
- face detection with openCV and DNN
- How can i train my own data?
- simplecnn public model only get 95 acc in imdb dataset, not 96% in model name
- which result from the prediction represents which emotion
- raise IOError(f'No file or directory found at {filepath_str}') HOT 1
- Outdated dependencies [FIXED]
- fail
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from face_classification.