简体   繁体   中英

Using Python scripts in Android for image processing

I have some python scripts which are doing image processing work using its own numpy and scipy libraries. How can I use/call these scripts in Android application providing image input from camera captures and saving the images after processed. Is there some native support for Python like C++. What performance implications would be there if I compare with using C++ as a native support. Any help would be greatly appreciated.

You can use QPython to run python scripts in android. It's a powerful program. Or use Kivy to develop cross platform apps with python. And a better solution is http://code.google.com/p/android-python27/ an embeded python iterpreter!!

尝试使用Pydroid (Android上最好的IDE),它的自动完成和代码分析功能很棒,支持您需要的大多数库

您需要一个Python解释器来运行Python脚本,Pydroid允许您访问编译Python脚本并附带pip,因此您可以安装新的Python模块,这是唯一提供使用python进行编程的真正体验的应用程序。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM