fake-camera


Namefake-camera JSON
Version 0.9.1 PyPI version JSON
download
home_pagehttps://github.com/fjolublar/fake_camera
SummaryA Camera Simulator. It creates a moving image in the screen.
upload_time2023-12-25 15:28:03
maintainer
docs_urlNone
authorfjolublar
requires_python
licenseMIT
keywords fake camera moving image camera simulator
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Code Example:

>>> import time
>>> import cv2 as cv
>>> from fake_camera import Fake_Camera  # import the class
>>> fake_cam_object = FakeCamera().add_foreground_image().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 from the fake camera
       cv.imshow("Moving Image", snapshot)       
       time.sleep(1/10)
       if cv.waitKey(1) & 0xFF == ord("q"):                                    
           break

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/fjolublar/fake_camera",
    "name": "fake-camera",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "Fake Camera,Moving Image,Camera Simulator",
    "author": "fjolublar",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/b0/6b/2c61a24cb9e209ddf15ac7d1143c2f64db26819f6cdf7dc8c5ccead3734a/fake-camera-0.9.1.tar.gz",
    "platform": null,
    "description": "Code Example:\r\n\r\n>>> import time\r\n>>> import cv2 as cv\r\n>>> from fake_camera import Fake_Camera  # import the class\r\n>>> fake_cam_object = FakeCamera().add_foreground_image().add_background_image().build() # create an instance of the fake camera class\r\n>>> while True:\r\n       snapshot = fake_cam_object.get_snapshot()  # get the next fake snapshot from from the fake camera\r\n       cv.imshow(\"Moving Image\", snapshot)       \r\n       time.sleep(1/10)\r\n       if cv.waitKey(1) & 0xFF == ord(\"q\"):                                    \r\n           break\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A Camera Simulator. It creates a moving image in the screen.",
    "version": "0.9.1",
    "project_urls": {
        "Download": "https://github.com/fjolublar/fake_camera/archive/v_0.9.1.tar.gz",
        "Homepage": "https://github.com/fjolublar/fake_camera"
    },
    "split_keywords": [
        "fake camera",
        "moving image",
        "camera simulator"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b06b2c61a24cb9e209ddf15ac7d1143c2f64db26819f6cdf7dc8c5ccead3734a",
                "md5": "8f5d3306c3d86d38eaee750deb583420",
                "sha256": "87e0733bcfbcc56ebb2066585ae55bc6db3669766da43137216ced27aadb5e65"
            },
            "downloads": -1,
            "filename": "fake-camera-0.9.1.tar.gz",
            "has_sig": false,
            "md5_digest": "8f5d3306c3d86d38eaee750deb583420",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4705,
            "upload_time": "2023-12-25T15:28:03",
            "upload_time_iso_8601": "2023-12-25T15:28:03.194461Z",
            "url": "https://files.pythonhosted.org/packages/b0/6b/2c61a24cb9e209ddf15ac7d1143c2f64db26819f6cdf7dc8c5ccead3734a/fake-camera-0.9.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-25 15:28:03",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "fjolublar",
    "github_project": "fake_camera",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "fake-camera"
}
        
Elapsed time: 0.36542s