fake-camera-0.9
توضیحات
A Camera Simulator. It creates a moving image in the screen.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | fake-camera-0.9 |
| نام | fake-camera |
| نسخه کتابخانه | 0.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | fjolublar |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/fjolublar/fake_camera |
| آدرس اینترنتی | https://pypi.org/project/fake-camera/ |
| مجوز | MIT |
Code Example:
>>> import cv2 as cv
>>> from fake_camera import Fake_Camera # import the class
>>> fake_cam_object = Fake_Camera() # create an instance of the class
>>> while True:
canvas_view = fake_cam_object.read_fake_image() #call the new image from the fake camera
cv.imshow("Moving Image", canvas_view)
time.sleep(1/10)
if cv.waitKey(1) & 0xFF == ord('q'):
break
نحوه نصب
نصب پکیج whl fake-camera-0.9:
pip install fake-camera-0.9.whl
نصب پکیج tar.gz fake-camera-0.9:
pip install fake-camera-0.9.tar.gz