Open Sahilsk99 opened 5 years ago
@Sahilsk99 Maybe its because you are using the built-in webcam which has a lower resolution (640x480) You have to resize the video capture frame size to 1280x720 at least.
Add this snippet below the declaration of the video capture variable:
cap.set(3, 1280) # 3 - PROPERTY index for WIDTH
cap.set(4, 720) # 4 - PROPERTY index for HEIGHT
Dear Sourav its really very pretty application but when I tryed this in my Computer its thrown an below error an stop working the application
line 91, in
frame[100:500, 800:1200] = icon
ValueError: could not broadcast input array from shape (400,400,3) into shape (380,0,3)
[ WARN:0] terminating async callback
I don't know why but I tryed lots of ways to solved this but I can't solve this If you know solution please tell me I am using Windows 10 OS