DSHOW VideoCapture from USB device shows garbage data

hi
I am new in opencv. I use USB webcam without IP. I wrote this code

input_movie = cv2.VideoCapture(cv2.CAP_DSHOW)
if input_movie.isOpened():
print(“camera is open”)


and camera is open printed but my image like this
could anybody help me?
tnx

1 Like

I’ve split this off into its own topic. feel free to adjust the title.

as to the issue… please also try MSMF and FFMPEG for apiPreference.

@shehni I think you are asking unrelated question with your title. When i read your title and when i saw your question i totally gone made. :slightly_smiling_face:

I so sorry … I considerate it next time. tnx :pray:

tnx so much … I try MSMF and FFMPEG but both neither work :confused: :confused: I think my camera is not compatible with opencv APIs .

yes … you right. so sorry I consider it next time