OpenMV MicriPython ...

  1. Device:
$lsusb
Bus 001 Device 019: ID 1209:abd1 InterBiometrics
  1. Python Modules:
    As we can see from MicroPython libraries — MicroPython 1.20 documentation,

MicroPython implements a subset of Python functionality for each module.

So, it seems a lot of modules are NOT working.

>>> import argparse
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: no module named 'argparse'
>>> import datetime
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: no module named 'datetime'
>>> import imutils
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: no module named 'imutils'
>>> import numpy as np
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: no module named 'numpy'
>>> import cv2
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: no module named 'cv2'
>>> import math
>>>
  1. Upgrade MicroPython?
    How can I upgrade the MicroPython inside OpenMV? For now, when I connected to OpenMV, I get the following info:
MicroPython v1.8-4345-g3a2670b on 2016-11-03; OPENMV2 with STM32F427
  1. Flash my MicroPython code down into OpenMV:
    Any video tutorial for flashing my MicroPython code down into OpenMV as the built-in code?

Thank you very much
Pei

Hi, none of those modules are available in MicroPython. Please read the library to see what is available. Pretty much all of desktop python isn’t available on MicroPython due to memory limits.