Skip to content

Simple interface for connect, display, and interaction with the camera.

License

Notifications You must be signed in to change notification settings

aimarabimanyu/camconnect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Camconnect

Simple interface for connect, display, and interaction with the camera built with Python

Installation

pip install camconnect

How To Use

Window for Capture Image

from camconnect import CaptureImage
import cv2

CaptureImage(cv2.VideoCapture(0),
             width=480, height=320, 
             window_name="Capture Image", 
             filename="captured_image.jpg").run()

Window for Record Video

from camconnect import RecordVideo
import cv2

RecordVideo(cv2.VideoCapture(0), 
            width=480, height=320, 
            window_name="Record Video", 
            filename="recorded_video.avi").run()

Window for Predict Image

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()

License

This project is licensed under the MIT License - see the LICENSE file for details.

Developed by Aimar Abimayu Pratama (c) 2024

About

Simple interface for connect, display, and interaction with the camera.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages