You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

fake-camera

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fake-camera

A Camera Simulator. It creates a moving image in the screen.

0.9.3a0
pipPyPI
Maintainers
1

Code Example:

import time import cv2 as cv from fake_camera import Fake_Camera # import the class fake_cam_object = FakeCamera().add_foreground_image(./lena_color.jpg).add_background_image().build() # create an instance of the fake camera class while True: snapshot = fake_cam_object.get_snapshot() # get the next fake snapshot from the fake camera cv.imshow("Moving Image", snapshot) time.sleep(1/10) if cv.waitKey(1) & 0xFF == ord("q"): break

Keywords

Fake Camera

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts