bcam-0.0.9
توضیحات
An easy to use camera interface for NVIDIA Jetson and raspberry pi
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | bcam-0.0.9 |
| نام | bcam |
| نسخه کتابخانه | 0.0.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Kevin Peng, Billy Wang |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/bcam/ |
| مجوز | - |
# bcam
bcam is an easy to use Python camera interface for NVIDIA Jetson.
This is forked form [jetcam](https://github.com/NVIDIA-AI-IOT/jetcam), intended to be used by BillioTech Team.
Of course, You can clone and use it as well, if you find it convenient.
Quick guide is [here](notebook/single_usb_cam.ipynb)
If you find an issue, please [let us know](../..//issues)!
## Install
```bash
pip3 install bcam
```
## Usage
### Start camera from Jupyter Notebook
```python
from bcam import BCamera
import traitlets
import ipywidgets.widgets as widgets
import cv2
bcam = BCamera.builder() \
.device(0) \
.resolution(800, 600) \
.fps(5) \
.build()
bcam.start()
widget = widgets.Image(format='jpeg', width=400, height=400)
display(widget)
bcam.link(widget)
```
### Stop
```python
bcam.stop()
```
نیازمندی
| مقدار | نام |
|---|---|
| - | ipywidgets |
| - | imutils |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl bcam-0.0.9:
pip install bcam-0.0.9.whl
نصب پکیج tar.gz bcam-0.0.9:
pip install bcam-0.0.9.tar.gz