{ "info": { "author": "Antonio Cuni", "author_email": "", "bugtrack_url": null, "classifiers": [], "description": "# XCamera: Android-optimized camera widget\n\n[![Build Status](https://travis-ci.com/kivy-garden/xcamera.svg?branch=develop)](https://travis-ci.com/kivy-garden/xcamera)\n[![Coverage Status](https://coveralls.io/repos/github/kivy-garden/xcamera/badge.svg?branch=develop)](https://coveralls.io/github/kivy-garden/xcamera?branch=develop)\n[![PyPI version](https://badge.fury.io/py/xcamera.svg)](https://badge.fury.io/py/xcamera)\n\nXCamera is a widget which extends the standard Kivy Camera widget with more\nfunctionality. In particular:\n\n 1. it displays a \"shoot button\", which the user can press to take pictures\n\n 2. on Android, it uses the native APIs to take high-quality pictures,\n including features such as auto-focus, high resolution, etc.\n\n 3. it includes a method to force landscape mode. On Android, it is often\n desirable to switch to landscape mode when taking pictures: you can\n easily do it by calling `camera.force_landscape()`, and later\n `camera.resource_orientation()` to restore the orientation to whatever it\n was before.\n\nScreenshot:\n\n![screenshot](https://raw.githubusercontent.com/kivy-garden/xcamera/develop/screenshot.png?raw=True \"Screenshot\")\n\nNotes:\n\n * On Android, the `resolution` property of the `XCamera` (and also of the\n plain `Camera`) widget controls the **preview size**: in other words, it\n only affects the quality of the preview, not the size of the pictures\n taken.\n\n * As it is now, the camera will shoot using the default setting for the\n picture size, which seems to be what the camera think it is \"the best\". In\n theory, we could add a method to retrieve the list of all possible picture\n sizes, and add a property to control it. It would also be nice to add a\n new button to allow the user to manually select the preferred size. Pull\n requests are welcome :)\n\n## Install & Usage\n[xcamera is available on PyPI](https://pypi.org/project/xcamera/).\nTherefore it can be installed via `pip`.\n```sh\npip3 install --user xcamera\n```\nOnce installed, the demo should be available in your `PATH` and can be ran from the command line.\n```sh\nxcamera\n```\nAnd the widget can be imported via:\n```python\nfrom kivy_garden.xcamera import XCamera\n```\n\n## Demo\nA full working demo is available in [src/kivy_garden/xcamera/main.py](https://github.com/kivy-garden/xcamera/blob/develop/src/main.py).\nYou can run it via:\n```sh\nmake run\n```\n\n## Develop & Contribute\nTo play with the project, install system dependencies and Python requirements using the [Makefile](Makefile).\n```sh\nmake\n```\nThen verify everything is OK by running tests.\n```sh\nmake test\n```\nIf you're familiar with `Docker`, the project can also run in a fully isolated container.\nFirst build the image.\n```sh\nmake docker/build\n```\nThen you can run tests within the container.\n```sh\nmake docker/run/test\n```\nOr the application itself.\n```sh\nmake docker/run/app\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/kivy-garden/xcamera", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "kivy-garden.xcamera", "package_url": "https://pypi.org/project/kivy-garden.xcamera/", "platform": "", "project_url": "https://pypi.org/project/kivy-garden.xcamera/", "project_urls": { "Homepage": "https://github.com/kivy-garden/xcamera" }, "release_url": "https://pypi.org/project/kivy-garden.xcamera/2019.928/", "requires_dist": [ "kivy", "opencv-python" ], "requires_python": ">=3", "summary": "Real time Barcode and QR Code scanner Edit", "version": "2019.928" }, "last_serial": 5900891, "releases": { "0.0.0": [ { "comment_text": "", "digests": { "md5": "1cd18b283f2b4650d3eb4dce900e4d5b", "sha256": "314df536c3dc8c20019b62fb5e92a4508c0e6d6aff811cb897efbeeb7114a456" }, "downloads": -1, "filename": "kivy_garden.xcamera-0.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "1cd18b283f2b4650d3eb4dce900e4d5b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2745, "upload_time": "2019-09-10T09:49:46", "url": "https://files.pythonhosted.org/packages/81/10/bed6cd5780fab493b517b496ddd4ad78f14595182a39b8e31c8ba1de35fe/kivy_garden.xcamera-0.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "54454b2ae618a76ed7c85fbf4a80dc15", "sha256": "81ca8f14cff16e9c72e1c360f966f47b4adc180eb27451697711eee0a84dcea7" }, "downloads": -1, "filename": "kivy_garden.xcamera-0.0.0.tar.gz", "has_sig": false, "md5_digest": "54454b2ae618a76ed7c85fbf4a80dc15", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1966, "upload_time": "2019-09-10T09:49:51", "url": "https://files.pythonhosted.org/packages/f2/31/4488b69251ca15d4621df77f493698ef0a4606780fb73d8886d8a40836b2/kivy_garden.xcamera-0.0.0.tar.gz" } ], "0.0.1": [ { "comment_text": "", "digests": { "md5": "af2eafe4a3d82803e88ae380c4e359ab", "sha256": "cce3ef3c860e1fc40d03c981053948a23766038dd4de59ba3bb10f416c9c8fc5" }, "downloads": -1, "filename": "kivy_garden.xcamera-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "af2eafe4a3d82803e88ae380c4e359ab", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 43684, "upload_time": "2019-09-10T19:53:27", "url": "https://files.pythonhosted.org/packages/78/31/03ce21512f45b3af47e7c3d9f5e8ca1245ef0e15102602dbf92021c8e034/kivy_garden.xcamera-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "37c2cb4408ae0f54025f7c4b6b5f4e4a", "sha256": "83a0914ba3df2110fd205e0e8a4f749bcda846db81c605a4e553228d25eb65f6" }, "downloads": -1, "filename": "kivy_garden.xcamera-0.0.1.tar.gz", "has_sig": false, "md5_digest": "37c2cb4408ae0f54025f7c4b6b5f4e4a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 43078, "upload_time": "2019-09-10T19:53:32", "url": "https://files.pythonhosted.org/packages/f9/07/f51587a8648e735586e5e45ce65ad61cbae2980bc93b894c0fb628a9d20f/kivy_garden.xcamera-0.0.1.tar.gz" } ], "2019.911": [ { "comment_text": "", "digests": { "md5": "df03e1ecfe4339019a6e019b42c74ceb", "sha256": "b9da72536c75aadf26713f6f391b85bd3397b775d1f303bb6a4a40241ba71951" }, "downloads": -1, "filename": "kivy_garden.xcamera-2019.911-py3-none-any.whl", "has_sig": false, "md5_digest": "df03e1ecfe4339019a6e019b42c74ceb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 43709, "upload_time": "2019-09-10T20:17:45", "url": "https://files.pythonhosted.org/packages/46/ba/e58d9e67608635c81956521109edefa434b678888b831688c44f2ab14672/kivy_garden.xcamera-2019.911-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ee04b65f027cdfd196a5be110c19ad2c", "sha256": "48593a8de886d6d0aafc25f1a7dcbb6ab649a304848d545b24606355d2963f7f" }, "downloads": -1, "filename": "kivy_garden.xcamera-2019.911.tar.gz", "has_sig": false, "md5_digest": "ee04b65f027cdfd196a5be110c19ad2c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 43034, "upload_time": "2019-09-10T20:17:48", "url": "https://files.pythonhosted.org/packages/96/77/2e1fb8a115696221714389d9a1c5df59464bcac5f35debe10e8fa4d011fa/kivy_garden.xcamera-2019.911.tar.gz" } ], "2019.928": [ { "comment_text": "", "digests": { "md5": "6a8b7165f175d7e52e31ba468942d9e2", "sha256": "0fcf4033f1c9b14c78c09e20b10e23751a957a889d9e9903b7505837b501dded" }, "downloads": -1, "filename": "kivy_garden.xcamera-2019.928-py3-none-any.whl", "has_sig": false, "md5_digest": "6a8b7165f175d7e52e31ba468942d9e2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 45343, "upload_time": "2019-09-28T22:42:47", "url": "https://files.pythonhosted.org/packages/b5/75/c7f42e6b07dcb1168f1c7583f567ed7984a9c343b4e2f86e5949672ed6cf/kivy_garden.xcamera-2019.928-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "576be2eac5d547c909426343ab8542bd", "sha256": "3374a8e2cc47621ef829ec578cc9b04c2340506e131447dd5db251e6bc9b0394" }, "downloads": -1, "filename": "kivy_garden.xcamera-2019.928.tar.gz", "has_sig": false, "md5_digest": "576be2eac5d547c909426343ab8542bd", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 45430, "upload_time": "2019-09-28T22:42:52", "url": "https://files.pythonhosted.org/packages/ed/8c/42fba0274afbce7bb09167a1cd3a7fc69c95ef799e4a6c8cfd205e0fb821/kivy_garden.xcamera-2019.928.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6a8b7165f175d7e52e31ba468942d9e2", "sha256": "0fcf4033f1c9b14c78c09e20b10e23751a957a889d9e9903b7505837b501dded" }, "downloads": -1, "filename": "kivy_garden.xcamera-2019.928-py3-none-any.whl", "has_sig": false, "md5_digest": "6a8b7165f175d7e52e31ba468942d9e2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 45343, "upload_time": "2019-09-28T22:42:47", "url": "https://files.pythonhosted.org/packages/b5/75/c7f42e6b07dcb1168f1c7583f567ed7984a9c343b4e2f86e5949672ed6cf/kivy_garden.xcamera-2019.928-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "576be2eac5d547c909426343ab8542bd", "sha256": "3374a8e2cc47621ef829ec578cc9b04c2340506e131447dd5db251e6bc9b0394" }, "downloads": -1, "filename": "kivy_garden.xcamera-2019.928.tar.gz", "has_sig": false, "md5_digest": "576be2eac5d547c909426343ab8542bd", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 45430, "upload_time": "2019-09-28T22:42:52", "url": "https://files.pythonhosted.org/packages/ed/8c/42fba0274afbce7bb09167a1cd3a7fc69c95ef799e4a6c8cfd205e0fb821/kivy_garden.xcamera-2019.928.tar.gz" } ] }