lovely and won't run

Dear experts,

in early (soon after kickstarter) days we were able to run a script on OpenMV Cam2 and check the camera view or framebuffer by calling (importing from on the usb-connected (linux) host. If I try this today with latest firmware ( and latest openmv-scripts (, this is what happens:

x@x200:~/openmv/usr$ python ./
Traceback (most recent call last):
  File "./", line 47, in <module>
    fb = openmv.fb_dump()
  File "/home/x/openmv/usr/", line 83, in fb_dump
    buff =
  File "/usr/lib/python2.7/dist-packages/serial/", line 453, in read
    buf =, size-len(read))
OverflowError: signed integer is greater than maximum

How to repair or recover? Is it something trivial? Is it worth noting on github (issue or feature request :wink:?
I’d really be (and I was of course) very grateful for that “small python only standard OpenMV viewport”. Thanks alot!

Hi, I fixed it for you

But note those scripts (and the PyGTK IDE) are no longer supported, we keep them around for reference.

Hi, so with the new version of OpenMV IDE you can create a frame buffer viewer at will. Also, MicroPython offers a script that let’s you control any pyboard using it. These two things cover any computer use case I think.

I’ll add the MP script to the IDE install package so everyone has it. Using that script you can send the MP board another python script to run and then once you want a viewer you can launch OpenMV IDE via the command line.

In general, the current script doesn’t have any of the battle tested code the IDE is using… I don’t want to have to maintain two piles of code so anything involving image output should be handled by the IDE.

Works! Thank you very much - also for your fast response.
(“s/python/python2” is rather important … was fast asleep yesterday, sorry!).


$ openmvide/bin/openmvide -open_serial_terminal ttyACM0:115200

works fine, thank you very much. But we have use cases, where its rather demanding to install openmvide on every (aged and dead slow) raspberry ∨ derivate ∨ surrogate.