Comments (9)
Hi there,
Can you please specify which OpenCV version you are using to run this code?
from human-detection-and-tracking.
Hi,
My cv2.__version__
is 3.3.1-dev, build from opencv and opencv_contrib
My python version is Python 3.5.2
from human-detection-and-tracking.
from human-detection-and-tracking.
Hi prsntmaurya,
Thank you for your advice.
I am sure have integrated the conrib_modules
, because if not, I will get an error:
There is no module named face.
I have fellowed the guide from learnopencv site which I think have same steps as yours.
I think the problem is the opencv3_contrib
library have changed, Like some function's name I mentioned before.
emm, I still can not solve this problem. Or do you have time to update it, so that it can be compatible with opencv3?
Thank you again for your patience and time.
from human-detection-and-tracking.
from human-detection-and-tracking.
I also encountered this problem. I still can not solve this problem
from human-detection-and-tracking.
Hi,
I have seen the difference between the version of OpenCV 3.1 and OpenCV 3.3, it is clear there are several changes from opencv_contrib modules version 3.1 to version 3.3. That's why you are facing such problem.
If you can switch to OpenCV version 3.1 then the error will be resolved or you can provide me the exact error details without changing any line in the code along with the OpenCV version(the above-mentioned error is after the change in code).
from human-detection-and-tracking.
I am closing the issue now, I hope it is resolved.
from human-detection-and-tracking.
This issue is solved in issue #25, please refer that.
from human-detection-and-tracking.
Related Issues (20)
- This node is not a map nor an empty collection HOT 5
- this code with python3.6 and opencv3.4 HOT 1
- The node is neither a map nor an empty collection in function 'cvGetFileNodeByName' HOT 1
- python3 opencv 3.4.1 HOT 2
- python3 opencv 3.4.1 HOT 6
- how to apply usb-camera to this codes? HOT 1
- core dump occurred when running ./humandetect ../GEM_time.mp4 HOT 1
- Labelling Issue HOT 3
- error in runing code HOT 2
- run error HOT 1
- imutils import error HOT 1
- neural network HOT 4
- ValueError: not enough values to unpack (expected 3, got 2) HOT 2
- main.py returns assertion failed HOT 5
- error in reading 'model.yaml' HOT 1
- base) C:\Users\ssbilakeri\Human-detection-and-Tracking-master>python create_face_model.py usage: create_face_model.py [-h] -i IMAGES create_face_model.py: error: the following arguments are required: -i/--images how to fix this error HOT 2
- ['C:\\Users\\jatin\\Downloads\\Human-detection-and-Tracking-master\\Human-detection-and-Tracking-master\\video\\1.mp4'] (720, 1280, 3) (450, 800, 3) Traceback (most recent call last): File "main.py", line 160, in <module> temp = background_subtraction(previous_frame, frame_resized_grayscale, min_area) File "main.py", line 118, in background_subtraction im2, cnts, hierarchy = cv2.findContours(thresh.copy(), cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_SIMPLE) ValueError: not enough values to unpack (expected 3, got 2) HOT 1
- can this project run on windows
- Mi
- Can it run on OpenCV 4?
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 human-detection-and-tracking.