movement-tracking icon indicating copy to clipboard operation
movement-tracking copied to clipboard

Getting error (I am very beginner)

Open TechMastering1 opened this issue 5 years ago • 3 comments

Screenshot_2020-08-04-21-21-03-55 @surya-veer @Yohannfra please help 🙏

TechMastering1 avatar Aug 04 '20 16:08 TechMastering1

@TechMastering1 follow this issue https://github.com/surya-veer/movement-tracking/issues/4#issuecomment-664018021

surya-veer avatar Aug 04 '20 16:08 surya-veer

I am using it on raspberry pi I entered this command in pi terminal "sudo modprobe bcm2835-v4l2 # to load it and create /dev/video0"

And then edited 67th line with " video_capture = cv2.VideoCapture(-1) to video_capture = cv2.VideoCapture('dev/video0') "

It says error Screenshot_2020-08-04-23-15-30-11

TechMastering1 avatar Aug 04 '20 17:08 TechMastering1

video_capture = cv2.VideoCapture(-1) to video_capture = cv2.VideoCapture('dev/video0')

surya-veer avatar Aug 04 '20 21:08 surya-veer