Comments (7)
hi , this could be caused due to opencv version .
have a look at this
https://stackoverflow.com/questions/46652754/python-opencv-valueerror-too-many-values-to-unpack?rq=1
from tello-object-tracking.
hi nice video i learnt a lot from it and while i was typing and lissening to you everything whent great untill i tryed to test your script its starts normal but then it gives me this error and i dont know if you can help?
Traceback (most recent call last):
File "ObjectTrackingTello.py", line 149, in
getContours(imgDil, imgContour)
File "ObjectTrackingTello.py", line 76, in getContours
contours, hierarchy = cv2.findContours(img.copy(), cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_NONE)
ValueError: too many values to unpack (expected 2)
did you solve this issue?
from tello-object-tracking.
@DSBxASSASSIN did you solve error
from tello-object-tracking.
from tello-object-tracking.
thank you so much to respond
from tello-object-tracking.
@DSBxASSASSIN i change the this code: contours, hierarchy = cv2.findContours(img.copy(), cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_NONE)
I write this code: (_, contours, hierarchy) = cv2.findContours(img.copy(), cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_SIMPLE)
end I am using computer camera for this reason this code cap = cv2.VideoCapture(0) it has to practec in zero
from tello-object-tracking.
from tello-object-tracking.
Related Issues (1)
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 tello-object-tracking.