Hi.
Was wondering if there was a way for a user to input commands from the keyboard with the openmv. I tried:
try:
mode=int(raw_input(‘Input:’))
except ValueError:
print “Not a number”
but got an error on raw_input. Same thing here
mport msvcrt
def kbfunc():
x = msvcrt.kbhit()
if x:
ret = ord(msvcrt.getch())
else:
ret = 0
return ret
Nope, not right now. I have a plan to offer something to allow OpenMV IDE to automatically handle cases like this with dialog pop-ups. But we don’t have anything like that currently.