{ "info": { "author": "Tom Smith", "author_email": "tom@takeontom.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "motion-saver\n============\n\nEasily pick out and save images which contain motion from a stream of images.\n\n\nFeatures\n--------\n\n* Send images into the MotionSaver, and it'll save the ones with motion.\n* Optionally save images from before and after motion occurs.\n* Easy to configure and use.\n\n\nRequirements\n------------\n\n* Python 3.5 or above\n* Pillow 4+\n\n\nInstallation\n------------\n\n.. code:: sh\n\n pip install motion-saver\n\n\nQuick start\n-----------\n\n\nExamples\n--------\n\nSave a stream of images\n.......................\n\nContinuously add a stream of images to the Motion Saver. When motion is\ndetected it will save the previous 30 seconds of images, and keep saving until\n20 seconds has passed since the last motion was detected.\n\n.. code:: python\n\n from datetime import datetime\n\n from motionsaver import MotionSaver\n\n ms = MotionSaver()\n ms.motion_threshold = 0.1\n ms.save_previous_seconds = 30\n ms.save_post_seconds = 20\n\n while True:\n now = datetime.now()\n\n pillow_img = get_image()\n filename = '{}.jpg'.format(now.strftime('%Y%m%d-%H%M%S'))\n\n ms.add_image(pillow_img, now, filename)\n\n\nLicense\n-------\n\ncamgrab is free software, distributed under the MIT license.\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/takeontom/motion-saver", "keywords": "", "license": "MIT license", "maintainer": "", "maintainer_email": "", "name": "motion-saver", "package_url": "https://pypi.org/project/motion-saver/", "platform": "", "project_url": "https://pypi.org/project/motion-saver/", "project_urls": { "Homepage": "https://github.com/takeontom/motion-saver" }, "release_url": "https://pypi.org/project/motion-saver/0.1.0/", "requires_dist": [ "pillow (>=4)" ], "requires_python": "", "summary": "Library to pick out motion from a stream of images.", "version": "0.1.0" }, "last_serial": 3191529, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "d4436e81c5fa999b8c6c4e5e1c19cd85", "sha256": "fb908d8e49624176bdf28ae50f4bb371abdfee476cfdf2191fcf33f706461fe8" }, "downloads": -1, "filename": "motion_saver-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "d4436e81c5fa999b8c6c4e5e1c19cd85", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4914, "upload_time": "2017-09-21T12:40:08", "url": "https://files.pythonhosted.org/packages/89/52/47bdc7f519a93801462b8fc3befb91436e17217cf8c30cb937fff9e24887/motion_saver-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "67e4bdbc1c63f5d8f8bf265b39512b94", "sha256": "604d281be2a1d116d45dd1cb06a3b1ab2c78106a933258c7b8f98711e0d08ac3" }, "downloads": -1, "filename": "motion-saver-0.1.0.tar.gz", "has_sig": false, "md5_digest": "67e4bdbc1c63f5d8f8bf265b39512b94", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3166, "upload_time": "2017-09-21T12:40:10", "url": "https://files.pythonhosted.org/packages/2f/85/fda8f3d19fb5d35ad50d4355032d93ad7aa513955d7809327a939c9c4978/motion-saver-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d4436e81c5fa999b8c6c4e5e1c19cd85", "sha256": "fb908d8e49624176bdf28ae50f4bb371abdfee476cfdf2191fcf33f706461fe8" }, "downloads": -1, "filename": "motion_saver-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "d4436e81c5fa999b8c6c4e5e1c19cd85", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4914, "upload_time": "2017-09-21T12:40:08", "url": "https://files.pythonhosted.org/packages/89/52/47bdc7f519a93801462b8fc3befb91436e17217cf8c30cb937fff9e24887/motion_saver-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "67e4bdbc1c63f5d8f8bf265b39512b94", "sha256": "604d281be2a1d116d45dd1cb06a3b1ab2c78106a933258c7b8f98711e0d08ac3" }, "downloads": -1, "filename": "motion-saver-0.1.0.tar.gz", "has_sig": false, "md5_digest": "67e4bdbc1c63f5d8f8bf265b39512b94", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3166, "upload_time": "2017-09-21T12:40:10", "url": "https://files.pythonhosted.org/packages/2f/85/fda8f3d19fb5d35ad50d4355032d93ad7aa513955d7809327a939c9c4978/motion-saver-0.1.0.tar.gz" } ] }