Comments (1)
Looks like you're trying to open a webcam feed that OpenCV doesn't know how to read.
The problem could be:
- You don't have a webcam or video device attached to your computer
- You have a device attached, but you don't have the proper drivers installed
- You have a working webcam, but for some reason it's unsupported by OpenCV
If you can't figure out how to get the webcam feed working, do this instead. On line 13 of emotions.py, change the boolean to load the sample video:
USE_WEBCAM = False
This will load a saved mp4 file and preform emotion analysis on it. Hopefully it will give you a nice demo to play around with.
Let me know if you have any other questions.
Peter
from emotion.
Related Issues (19)
- I got this warning HOT 7
- pip3 install
- how do I save the image data
- ValueError("Tensor %s is not an element of this graph." % obj) on flask
- Not able to load the model HOT 2
- No module problem
- Have a question.
- models.cnn missing HOT 1
- When using python3 it doesnt allow for cv2 to be imported
- Hi can You deploy this n flask ????
- train_emotion_classifier.py
- ImportError: cannot import name 'imread' HOT 1
- VIDEOIO ERROR: V4L2: Pixel format of incoming image is unsupported by OpenCV; Unable to stop the stream: Device or resource busy HOT 1
- are you interested in building a web app on it? HOT 1
- How to train on my custom data? HOT 1
- What does apply_offsets do?
- What do I need to change if I need to take only four emotions. Angry, sad, happy and neutral. Giving me errors on get _labels
- Hello. Running the code gives this error. any insights? HOT 3
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 emotion.