Skip to main content

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

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fake_camera-0.9.3a0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fake_camera-0.9.3a0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file fake_camera-0.9.3a0.tar.gz.

File metadata

  • Download URL: fake_camera-0.9.3a0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for fake_camera-0.9.3a0.tar.gz
Algorithm Hash digest
SHA256 23a333089f6d7844575a3308b8107e11270b06d7be538322486bbe72b615072f
MD5 1a659b5724d91206a77e2b299bcf49b0
BLAKE2b-256 0693038aae9bc4ae5f2842ed85aa2a3a653046081abd4ab38fe3b6ac5e529f6c

See more details on using hashes here.

File details

Details for the file fake_camera-0.9.3a0-py3-none-any.whl.

File metadata

  • Download URL: fake_camera-0.9.3a0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for fake_camera-0.9.3a0-py3-none-any.whl
Algorithm Hash digest
SHA256 dcab901776e4f34fc356b99fbcc7f25d0146889692dd87773b771d23e78b0258
MD5 db4b2d7496d12b15bdd1e5e4e870a06d
BLAKE2b-256 b6590906f082b676d5c5c7cea4c6b292db54088a1f186316bdf543bc9aa90133

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page