問題描述
我正在尋找一種解決方法以通過 kivy 訪問 Android 相機,或者我可以與 kivy 集成 以訪問相機的庫.
Please i am looking for a work around to get access Android camera through kivy, or a library that i can integrate with kivy in order to access the Camera.
我正在為 android 開發一個應用程序,但使用 python-kivy 作為 UI,
I am developing an application for android but using python-kivy for the UI,
任何事情都會非常感激,
anything will be really appreciated,
非常感謝.
推薦答案
Kivy 對調用相機有一些原生支持.從新的編程指南中查看 此頁面 用于核心提供商或 此頁面來自新的編程指南,用于 uix 小部件.理論上,核心應該能夠在平臺之間適應,然后小部件應該能夠使用相機.
Kivy has some native support for calling the camera. Check out this page from the new programming guide for a core provider or this page from the new programming guide for a uix widget. In theory, the core should be able to adapt between platforms and the widget should then be able to use the camera.
這篇關于通過 Kivy 訪問 Android 相機的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!