|
You can try to modify the server/camera_opencv.py file, add below line 418
code:
- camera.set(6,cv2.VideoWriter.fourcc('M','J','P','G'))
- camera.set(3,640) #FRAME WIDTH
- camera.set(4,480) # FRAME HEIGHT
- #camera.set(cv2.CAP_PROP_FPS, 60) # frame
Copy the Code
You can also debug the parameters and fill in the parameters suitable for your camera.
|
|