Real time Barcode and QR Code scanner Edit
Project description
XCamera: Android-optimized camera widget
XCamera is a widget which extends the standard Kivy Camera widget with more functionality. In particular:
-
it displays a "shoot button", which the user can press to take pictures
-
on Android, it uses the native APIs to take high-quality pictures, including features such as auto-focus, high resolution, etc.
-
it includes a method to force landscape mode. On Android, it is often desirable to switch to landscape mode when taking pictures: you can easily do it by calling
camera.force_landscape()
, and latercamera.resource_orientation()
to restore the orientation to whatever it was before.
Screenshot:
Notes:
-
On Android, the
resolution
property of theXCamera
(and also of the plainCamera
) widget controls the preview size: in other words, it only affects the quality of the preview, not the size of the pictures taken. -
As it is now, the camera will shoot using the default setting for the picture size, which seems to be what the camera think it is "the best". In theory, we could add a method to retrieve the list of all possible picture sizes, and add a property to control it. It would also be nice to add a new button to allow the user to manually select the preferred size. Pull requests are welcome :)
Install
garden install xcamera
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
Built Distribution
Hashes for kivy_garden.xcamera-0.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81ca8f14cff16e9c72e1c360f966f47b4adc180eb27451697711eee0a84dcea7 |
|
MD5 | 54454b2ae618a76ed7c85fbf4a80dc15 |
|
BLAKE2b-256 | f2314488b69251ca15d4621df77f493698ef0a4606780fb73d8886d8a40836b2 |
Hashes for kivy_garden.xcamera-0.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 314df536c3dc8c20019b62fb5e92a4508c0e6d6aff811cb897efbeeb7114a456 |
|
MD5 | 1cd18b283f2b4650d3eb4dce900e4d5b |
|
BLAKE2b-256 | 8110bed6cd5780fab493b517b496ddd4ad78f14595182a39b8e31c8ba1de35fe |