{ "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": "xcamera", "package_url": "https://pypi.org/project/xcamera/", "platform": "", "project_url": "https://pypi.org/project/xcamera/", "project_urls": { "Homepage": "https://github.com/kivy-garden/xcamera" }, "release_url": "https://pypi.org/project/xcamera/2019.928/", "requires_dist": [ "kivy-garden.xcamera" ], "requires_python": ">=3", "summary": "Real time Barcode and QR Code scanner Edit", "version": "2019.928" }, "last_serial": 5900892, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "907d75913f3af26c08c68f9bf584b162", "sha256": "5b60d0777efe3db885d4da1a4149748b06e3228b9e1421d0f98f84a78c7febb4" }, "downloads": -1, "filename": "xcamera-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "907d75913f3af26c08c68f9bf584b162", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 43555, "upload_time": "2019-09-10T19:53:30", "url": "https://files.pythonhosted.org/packages/65/b5/37815b95bfb49ac6906a4e5be846c11deeb75fb87d43dd996f1ff7c745b6/xcamera-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "54212794b70e3fd8a824557380f13f17", "sha256": "4e40bcb930d566756595d5f3f839dd2e917fea80812e6f4ef25b876ccfb0061e" }, "downloads": -1, "filename": "xcamera-0.0.1.tar.gz", "has_sig": false, "md5_digest": "54212794b70e3fd8a824557380f13f17", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 43615, "upload_time": "2019-09-10T19:53:33", "url": "https://files.pythonhosted.org/packages/55/32/6d8ae0d7cb618241d1eb7dfe3d106ac0a051668e958ddec8fc051701d6ac/xcamera-0.0.1.tar.gz" } ], "2019.911": [ { "comment_text": "", "digests": { "md5": "198e1302b81f7159bb419e3e9338818b", "sha256": "bbd30353a2c89848e69adb61ec477c6a62f4f79be9a785611765a56aafbcadda" }, "downloads": -1, "filename": "xcamera-2019.911-py3-none-any.whl", "has_sig": false, "md5_digest": "198e1302b81f7159bb419e3e9338818b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 43585, "upload_time": "2019-09-10T20:17:46", "url": "https://files.pythonhosted.org/packages/32/47/363f41a247d865aa9e537c12ab1bca665df5eca4ee3722edf6a7d47b12c8/xcamera-2019.911-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "59bbbd3d01070d9450bc0b2d86516e76", "sha256": "cc3da754d82cbf3ddc90d7952ab5e5b37b70f403c5d333810602858a0678f570" }, "downloads": -1, "filename": "xcamera-2019.911.tar.gz", "has_sig": false, "md5_digest": "59bbbd3d01070d9450bc0b2d86516e76", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 43569, "upload_time": "2019-09-10T20:17:50", "url": "https://files.pythonhosted.org/packages/2c/12/7386814f09fce3e30d8e1f75bcccc230fd2dedd894a00619ab6b4431c9a0/xcamera-2019.911.tar.gz" } ], "2019.928": [ { "comment_text": "", "digests": { "md5": "563ab227137fe598037ae065e299738e", "sha256": "6449162b370c1e17333b2302a400294ae2de34ac4bfa2be52dc5016d4925ac90" }, "downloads": -1, "filename": "xcamera-2019.928-py3-none-any.whl", "has_sig": false, "md5_digest": "563ab227137fe598037ae065e299738e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 45183, "upload_time": "2019-09-28T22:42:50", "url": "https://files.pythonhosted.org/packages/f0/f3/567febe01fa1611fa59f0fb84e6271f80c2e2c73ab272eb1af7ef25ec929/xcamera-2019.928-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0e46982bdb5934a2c4d723a53e4b54d9", "sha256": "d3180e2ecbdee935a5861ac5d4d45cc48caaaef62f7f911a6490b890a3bbf1f3" }, "downloads": -1, "filename": "xcamera-2019.928.tar.gz", "has_sig": false, "md5_digest": "0e46982bdb5934a2c4d723a53e4b54d9", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 45536, "upload_time": "2019-09-28T22:42:54", "url": "https://files.pythonhosted.org/packages/7b/87/e0c26c767e4d92ed2e1b653bcfb97dec34060626bd077e5cbf2b65944de1/xcamera-2019.928.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "563ab227137fe598037ae065e299738e", "sha256": "6449162b370c1e17333b2302a400294ae2de34ac4bfa2be52dc5016d4925ac90" }, "downloads": -1, "filename": "xcamera-2019.928-py3-none-any.whl", "has_sig": false, "md5_digest": "563ab227137fe598037ae065e299738e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 45183, "upload_time": "2019-09-28T22:42:50", "url": "https://files.pythonhosted.org/packages/f0/f3/567febe01fa1611fa59f0fb84e6271f80c2e2c73ab272eb1af7ef25ec929/xcamera-2019.928-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0e46982bdb5934a2c4d723a53e4b54d9", "sha256": "d3180e2ecbdee935a5861ac5d4d45cc48caaaef62f7f911a6490b890a3bbf1f3" }, "downloads": -1, "filename": "xcamera-2019.928.tar.gz", "has_sig": false, "md5_digest": "0e46982bdb5934a2c4d723a53e4b54d9", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 45536, "upload_time": "2019-09-28T22:42:54", "url": "https://files.pythonhosted.org/packages/7b/87/e0c26c767e4d92ed2e1b653bcfb97dec34060626bd077e5cbf2b65944de1/xcamera-2019.928.tar.gz" } ] }