title: Running python script with Numpy and OpenCV on Android
body: <p>I have a complicated image processing script that runs in python with Numpy and OpenCV.
  I want to run this script in Android but I couldn't find a way to do it.</p>
  
  <p>After some research I found some frameworks that may help but I have some problems with them:</p>
  
  <ul>
  <li><a href="https://kivy.org/#home" rel="noreferrer">Kivy</a> only generates full APK, but what I need is an AAR or some background service so I could use it from other apps</li>
  <li><a href="http://www.qpython.com/" rel="noreferrer">QPython</a> only runs scripts, I didn't find a way to communicate with it from my app</li>
  <li><a href="https://anthony-tuininga.github.io/cx_Freeze/" rel="noreferrer">cxfreeze</a> I've tried to generate executable out of my script and then running it from my app, but I couldn't find a way to compile my script to an ARM processor so Android would be able to execute it</li>
  </ul>
  
  <p>I will be happy to hear some ideas on how to run this script in Android.
  Is it possible to maybe root the device and install Python, Numpy and OpenCV?</p>