Capture Video from Camera using Python OpenCV

preview_player
Показать описание
Tutorial on How to Capture Video from Camera using Python OpenCV.

➖➖➖➖➖➖➖➖➖➖
👍🏼👍🏼 👍🏼 I really request you to like the videos (at least the ones that you like). It really support the content.

✏️ If you liked the video, PLEASE leave a comment for support. The only signals that you give us is these stuff. So please do me a favor and leave a comment.

➖➖➖➖➖➖➖➖➖➖
Source Code:

# pip install opencv-python
import cv2
from cv2 import cv2

webcam=cv2.VideoCapture(0)

while True:

if ret==True:
if key==ord("q"):
break

➖➖➖➖➖➖➖➖➖➖
▶️ Our Machine Learning Tutorial Playlist:

▶️ Jupyter Notebook Tutorial playlist:

➡️ Suggested Video: Face Detection using Python:

➖➖➖➖➖➖➖➖➖➖

==================================
NumPy Tutorial Playlist (NumPy Crash Course):
==================================
Рекомендации по теме
Комментарии
Автор

When trying to run that code on pycharm python interpreter im getting this error
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb.

Do you know how to fix it?

swagstix
Автор

that a quit good video, but can you paste the code please

sterix
Автор

Nice tutorial. BUT these damn sound effects and screencut transition sounds, 'ding', 'kling', 'plop', 'swoosh'... SO DISTRACTING! I can't watch this. I just suffer through it to get the insights from the code, which you explain well. In my opinion, you should not put these kind of sound effects and little popup effects in there. Thanks.

beefsupreme