Hello, when I move with my webcam quickly, I see these artefacts/image breaks/shifts. I am using vlc v4l2 with /dev/video0 via vlc command line to preview live webcam video. Please, What should I set please to prevent these artefacts?
1 | initial version |
Hello, when I move with my webcam quickly, I see these artefacts/image breaks/shifts. I am using vlc v4l2 with /dev/video0 via vlc command line to preview live webcam video. Please, What should I set please to prevent these artefacts?
Hello, when I move with my webcam quickly, I see these artefacts/image breaks/shifts. I am using vlc v4l2 with /dev/video0 via vlc command line to preview live webcam video. Please, What should I set please to prevent these artefacts?
My sample code: import cv2
def show_webcam(mirror=False): cam = cv2.VideoCapture(0) while True: ret_val, img = cam.read() img = cv2.flip(img, 0) cv2.imshow('my webcam', img) del(img) cv2.waitKey(1) cv2.destroyAllWindows()
def main(): show_webcam(mirror=False)
if __name__ == '__main__': main()
Hello, when I move with my webcam quickly, I see these artefacts/image breaks/shifts. I am using vlc v4l2 with /dev/video0 via vlc command line to preview live webcam video. Please, What should I set please to prevent these artefacts?
My sample code:
import cv2code:
import cv2
def show_webcam(mirror=False):
cam = cv2.VideoCapture(0)
while True:
ret_val, img = cam.read()
img = cv2.flip(img, 0)
cv2.imshow('my webcam', img)
del(img)
cv2.waitKey(1)