Simple Interface for Camera in Python
Project description
Camconnect
Simple interface for connect, display, and interaction with the camera.
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
camconnect-0.1.3.tar.gz
(4.4 kB
view details)
Built Distribution
File details
Details for the file camconnect-0.1.3.tar.gz
.
File metadata
- Download URL: camconnect-0.1.3.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51a97d212d82d4da779aee43451f45923cab803ed60e443b4e83dedcb4993805 |
|
MD5 | 8efc9e71b2d5e289af47f27f8005de7c |
|
BLAKE2b-256 | 40bc776e3b7880d8c56a9cfcbd66a7f3336e3e063636757ee664d875c4b18570 |
File details
Details for the file camconnect-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: camconnect-0.1.3-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 370d14738da86f0825b94d21718e4220a32c9be0b8b3aaef8a9b9e628ea8d858 |
|
MD5 | 592fc8d5655d365857da114eb9d67dc8 |
|
BLAKE2b-256 | d2c88cdd866378ae5f81619d12f388542c960ce4dae75c3719a2398494233ca5 |