This is an example of an interactive Python console script running in an Android app using Chaquopy. It queries connected devices and retrieves information about device's image sensors.
Some starting points:
- The example Python script is in
app/src/main/python/main.py
. You can replace this with your own code. - The Android activity which hosts it is in
app/src/main/java/com/chaquo/python/console/MainActivity.java
. - The Chaquopy configuration is in
app/build.gradle
. - NOTE: Start here, to specify your own .whl files for the time being. Modify parts under// install "depthai"
section.