Simple interface for connect, display, and interaction with the camera built with Python
pip install camconnect
from camconnect import CaptureImage
import cv2
CaptureImage(cv2.VideoCapture(0),
width=480, height=320,
window_name="Capture Image",
filename="captured_image.jpg").run()
from camconnect import RecordVideo
import cv2
RecordVideo(cv2.VideoCapture(0),
width=480, height=320,
window_name="Record Video",
filename="recorded_video.avi").run()
from camconnect import PredictImage
import cv2
PredictImage(cv2.VideoCapture(0),
width=480, height=320,
save_image=True,
window_name="Predict Image",
inference_model=inference_model).run()
This project is licensed under the MIT License - see the LICENSE file for details.
Developed by Aimar Abimayu Pratama (c) 2024