Video Feed

Discussion related to "under the hood" OpenMV topics.
askerker
Posts: 5
Joined: Tue Jun 12, 2018 10:12 am

Video Feed

Postby askerker » Tue Jul 17, 2018 1:35 pm

Hi,

I was wondering where I can access the python (or other) script(s) that create the video feed on the OpenMV IDE. I am trying to stream the video over html/javascript on a web page (before doing other functions over the web page) and would love any help with this.

Thanks!

Abby
User avatar
kwagyeman
Posts: 2313
Joined: Sun May 24, 2015 2:10 pm

Re: Video Feed

Postby kwagyeman » Tue Jul 17, 2018 4:47 pm

Hi, the serial protocol is in this script:

https://github.com/openmv/openmv/blob/m ... yopenmv.py

And this one shows how to use it.

https://github.com/openmv/openmv/blob/m ... enmv_fb.py

Note that you can roll your own custom protocol too and whatnot. You can just send data out the UART in whatever format you like. I.e. you can compress an image and then transmit it via the uart to wherever.
Nyamekye,

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 6 guests