معرفی شرکت ها


counterfit-shims-picamera-0.1.0.dev5


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Shims for the PiCamera library for the CounterFit virtual IoT device app
ویژگی مقدار
سیستم عامل -
نام فایل counterfit-shims-picamera-0.1.0.dev5
نام counterfit-shims-picamera
نسخه کتابخانه 0.1.0.dev5
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Jim Bennett
ایمیل نویسنده -
آدرس صفحه اصلی https://github.com/CounterFit-IoT/CounterFit
آدرس اینترنتی https://pypi.org/project/counterfit-shims-picamera/
مجوز MIT
# CounterFit Shims - Picamera ![Picamera Shim](https://img.shields.io/badge/Platform-Python-green) [![PyPI](https://img.shields.io/pypi/v/counterfit-shims-picamera)](https://pypi.org/project/counterfit-shims-picamera) Shims for the Picamera to read from a virtual camera See the [Picamera Docs](https://picamera.readthedocs.io/) for the API documentation. ## Getting started To use these shims, you will need to install [CounterFit](https://github.com/CounterFit-IoT/CounterFit) and have it running, with the appropriate camera hardware created. Create the camera with a name of `Picamera`. * Install this package from pip: ```sh pip install counterfit-shims-picamera ``` * Import Picamera using the `counterfit_shims_picamera` package instead of the `picamera` package, as well as importing the `CounterFitConnection` from the `counterfit_shims_grove.counterfit_connection` module: ```python from counterfit_connection import CounterFitConnection import counterfit_shims_picamera ``` * Configure the connection to the CounterFit app. Change the hostname and port to where you are running it: ```python CounterFitConnection.init('127.0.0.1', 5000) ``` * Write your Picamers code as usual. For example, to capture an image as a JPEG: ```python camera = PiCamera() image = io.BytesIO() camera.capture(image, 'jpeg') ```


نیازمندی

مقدار نام
- requests
- counterfit-connection
- pillow


نحوه نصب


نصب پکیج whl counterfit-shims-picamera-0.1.0.dev5:

    pip install counterfit-shims-picamera-0.1.0.dev5.whl


نصب پکیج tar.gz counterfit-shims-picamera-0.1.0.dev5:

    pip install counterfit-shims-picamera-0.1.0.dev5.tar.gz