learn-opencv-in-3-hours's People
Forkers
baptistepetiot sabbban bbelmar kalkaran moustaphadiakhate ricardojra akashkumar398 baptiste-b-ece ritunjaykumar aquib1011 varaprasade imokaaa jkh920184196 upadder bhanubeings trcclub valarzz tuobay hkmtechnology angelodavido marceluphd ed231163 kirkxu ramesh960386 ayu1997 maxcodextc kissjava ektasangwan narendramall mithunkumarsr sumitssharma1 skipper23 typewriter221 stephen-nugraha-putra dan-sylvain exoticcoder16 venkatsainath seanlin12345 ravindrakumar-iitkgp pleago pedroescobedob beatrizsiqueira mbasaran77 svrajput80 castlebayne gijung-kim ashraf-ul raj911tx abhishekvarma23 qin-jiang littleserendipity liurenn min-star jackyin68 lixm-cn yogi6591 sathiyabal rajsingh7 hehuaiyu sensation-moment gjhao bravedrxutf wzh200137 biranchi2018 sangyy x-bruce tianshizhilei98305 pyn305393532 liangzhy2 davidscg tom12306 fater20 lysamantha shenleokay sethallen94 rachael-y krishnatray hotbbsun ashishhackman5 huangkai-hfut projectifyofficial rsaavedra84 praveenbommalibits yuwu-c hey-levi muziwuqing lovehoneyfish asteria18 palspal98 junbao97 caiyangan waadk98 shyamranny cd70zyx georgethedeveloper77 zyf058 zhenghaohua uniquemr ly-ucc anggawasitalearn-opencv-in-3-hours's Issues
Project2
What's the function of the project2? Why my computer always display the windows "WorkFlow" but "ImageWarped"
lambo.png vs lambo.PNG in chapter 3 and chapter 7
The image lambo.png is used in chapter 7, and also in the video for chapter 3.
In the Resources directory the file is labeled lambo.PNG so the above exercises throws an error.
Changing the Resources filename to lambo.png will take care of these errors.
Note: chapter 3 video code uses lambo.png and the GitHub code uses shapes.png. This really is not a problem if lambo.PNG is changed to lambo.png
No such file or directory
Hello,
I'm starting to learning python and I'm having difficulties to read the lena's image. When I try to run the program appers the error "no such file or directory". I would like to know how I can fix that.
Att
Project 1
IN OPENCV 3 the cv2.findContours function return 3 values.
namely im2, contours, hierarchy.
The code from project 1 throws an error about the unpacking of value or value assign error.
haarcascades error: (-215:Assertion failed) !empty() in function 'cv::CascadeClassifier::detectMultiScale'
Continue getting this error for drone face tracking course, I think it is due to the file. Any ideas?
My Code:
import cv2
import numpy as np
def findFace(img):
faceCascade = cv2.CascadeClassifier('Resources/haarcascade_frontalface_default.xml')
imgGray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
faces = faceCascade.detectMultiScale(imgGray,1.1,8)
myFaceListC = []
myFaceListArea = []
for (x,y,w,h) in faces:
cv2.rectangle(img,(x,y),(x + w, y + h),(0,0,255),2)
cap = cv2.VideoCapture(0)
while True:
_, img = cap.read()
findFace(img)
cv2.imshow("Output",img)
cv2.waitKey(1)
Error:
File "C:/Users/zachd/PycharmProjects/droneproject2/venv/Face Tracking.py", line 20, in
findFace(img)
File "C:/Users/zachd/PycharmProjects/droneproject2/venv/Face Tracking.py", line 7, in findFace
faces = faceCascade.detectMultiScale(imgGray,1.1,8)
cv2.error: OpenCV(4.5.1) C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-oduouqig\opencv\modules\objdetect\src\cascadedetect.cpp:1689: error: (-215:Assertion failed) !empty() in function 'cv::CascadeClassifier::detectMultiScale'
[ WARN:1] global C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-oduouqig\opencv\modules\videoio\src\cap_msmf.cpp (434) `anonymous-namespace'::SourceReaderCB::~SourceReaderCB terminating async callback
getting an issue in project1.py file
Traceback (most recent call last):
File "C:/Users/mayur/PycharmProjects/OpenCV projects/read.py", line 20, in
findColor ( img, mycolors )
File "C:/Users/mayur/PycharmProjects/OpenCV projects/read.py", line 16, in findColor
cv2.imshow(img,mask)
cv2.error: OpenCV(4.5.2) ๐ error: (-5:Bad argument) in function 'imshow'
Overload resolution failed:
where we can find video12.mp4 ?
Error about VideoCapture in Virtual Pen
When I set cv2.VideoCapture(1)
img alway get none when cap.read() return.
ColorPicker.py Question
From project 1 you use the Colorpicker.py to get the right values you need. when running the Code I get a problem with it at:
[ WARN:0] global C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-2b5g8ysb\opencv\modules\videoio\src\cap_msmf.cpp (435) `anonymous-namespace'::SourceReaderCB::~SourceReaderCB terminating async callback
Traceback (most recent call last):
imgHsv = cv2.cvtColor(img, cv2.COLOR_BGR2HSV)
cv2.error: OpenCV(4.4.0)
Im using python 3.7.6 and I have cv2 imported
How to add or ceate Resource folder
Assalamu alaykum,
Could you please anyone help me to figure out how to create Resource folder for OpenCv.
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.