# Camconnect
Simple interface for connect, display, and interaction with the camera.
## Installation
```bash
pip install camconnect
```
## How To Use
### Window for Capture Image
```python
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
```python
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
```python
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](LICENSE) file for details.
Developed by Aimar Abimayu Pratama (c) 2024
Raw data
{
"_id": null,
"home_page": "https://github.com/aimarabimanyu/camconnect.git",
"name": "camconnect",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "python,interface,stream,camera,opencv,tkinter",
"author": "Aimar Abimayu Pratama",
"author_email": "aimarabimanyu123@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/40/bc/776e3b7880d8c56a9cfcbd66a7f3336e3e063636757ee664d875c4b18570/camconnect-0.1.3.tar.gz",
"platform": null,
"description": "\r\n# Camconnect\r\n\r\n\r\n\r\nSimple interface for connect, display, and interaction with the camera.\r\n\r\n\r\n\r\n## Installation\r\n\r\n\r\n\r\n```bash\r\n\r\npip install camconnect\r\n\r\n```\r\n\r\n\r\n\r\n## How To Use\r\n\r\n\r\n\r\n### Window for Capture Image\r\n\r\n```python\r\n\r\nfrom camconnect import CaptureImage\r\n\r\nimport cv2\r\n\r\n\r\n\r\nCaptureImage(cv2.VideoCapture(0),\r\n\r\n width=480, height=320, \r\n\r\n window_name=\"Capture Image\", \r\n\r\n filename=\"captured_image.jpg\").run()\r\n\r\n```\r\n\r\n### Window for Record Video\r\n\r\n```python\r\n\r\nfrom camconnect import RecordVideo\r\n\r\nimport cv2\r\n\r\n\r\n\r\nRecordVideo(cv2.VideoCapture(0), \r\n\r\n width=480, height=320, \r\n\r\n window_name=\"Record Video\", \r\n\r\n filename=\"recorded_video.avi\").run()\r\n\r\n```\r\n\r\n### Window for Predict Image\r\n\r\n```python\r\n\r\nfrom camconnect import PredictImage\r\n\r\nimport cv2\r\n\r\n\r\n\r\nPredictImage(cv2.VideoCapture(0), \r\n\r\n width=480, height=320,\r\n\r\n save_image=True,\r\n\r\n window_name=\"Predict Image\", \r\n\r\n inference_model=inference_model).run()\r\n\r\n```\r\n\r\n\r\n\r\n## License\r\n\r\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\r\n\r\n\r\n\r\nDeveloped by Aimar Abimayu Pratama (c) 2024\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Simple Interface for Camera in Python",
"version": "0.1.3",
"project_urls": {
"Homepage": "https://github.com/aimarabimanyu/camconnect.git",
"Source": "https://github.com/aimarabimanyu/camconnect.git"
},
"split_keywords": [
"python",
"interface",
"stream",
"camera",
"opencv",
"tkinter"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d2c88cdd866378ae5f81619d12f388542c960ce4dae75c3719a2398494233ca5",
"md5": "592fc8d5655d365857da114eb9d67dc8",
"sha256": "370d14738da86f0825b94d21718e4220a32c9be0b8b3aaef8a9b9e628ea8d858"
},
"downloads": -1,
"filename": "camconnect-0.1.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "592fc8d5655d365857da114eb9d67dc8",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 7610,
"upload_time": "2024-03-05T10:44:07",
"upload_time_iso_8601": "2024-03-05T10:44:07.943915Z",
"url": "https://files.pythonhosted.org/packages/d2/c8/8cdd866378ae5f81619d12f388542c960ce4dae75c3719a2398494233ca5/camconnect-0.1.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "40bc776e3b7880d8c56a9cfcbd66a7f3336e3e063636757ee664d875c4b18570",
"md5": "8efc9e71b2d5e289af47f27f8005de7c",
"sha256": "51a97d212d82d4da779aee43451f45923cab803ed60e443b4e83dedcb4993805"
},
"downloads": -1,
"filename": "camconnect-0.1.3.tar.gz",
"has_sig": false,
"md5_digest": "8efc9e71b2d5e289af47f27f8005de7c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4440,
"upload_time": "2024-03-05T10:44:10",
"upload_time_iso_8601": "2024-03-05T10:44:10.659995Z",
"url": "https://files.pythonhosted.org/packages/40/bc/776e3b7880d8c56a9cfcbd66a7f3336e3e063636757ee664d875c4b18570/camconnect-0.1.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-05 10:44:10",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "aimarabimanyu",
"github_project": "camconnect",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "camconnect"
}