Reduced Resolution WVGA modes for the MT9V034

Discussion related to "under the hood" OpenMV topics.
ecdm2
Posts: 9
Joined: Sun Sep 09, 2018 6:15 am

Reduced Resolution WVGA modes for the MT9V034

Postby ecdm2 » Wed Aug 14, 2019 11:01 am

Hello

I'd like to use the full width of the Global Shutter (MT9V034) sensor at reduced resolution for AprilTag detection but can't see a QWVGA or QWVGA2 mode.

Is it possible to do this ?

If I need to write to the camera registers can you give me any tips / pointers ?

Ed
User avatar
kwagyeman
Posts: 3188
Joined: Sun May 24, 2015 2:10 pm

Re: Reduced Resolution WVGA modes for the MT9V034

Postby kwagyeman » Wed Aug 14, 2019 11:48 am

Um, you've have to edit the firmware to do this. It's pretty easy to. Once you have the build system setup just add a new resolution mode and a QSTRING for it and you're done:

https://github.com/openmv/openmv/blob/m ... nsor.c#L36
https://github.com/openmv/openmv/blob/m ... nsor.h#L42
https://github.com/openmv/openmv/blob/m ... sor.c#L680
https://github.com/openmv/openmv/blob/m ... omv.h#L195

The driver can deal with any resolution you wan to use (make sure the resolution is divisible by 2/4 however otherwise you'll get weird AHB transfer size minimum issues related to DMA on the H7).

See the github wiki for how to build the firmware.
Nyamekye,
ecdm2
Posts: 9
Joined: Sun Sep 09, 2018 6:15 am

Re: Reduced Resolution WVGA modes for the MT9V034

Postby ecdm2 » Wed Aug 14, 2019 1:24 pm

Thanks - that all looks pretty straightforward.

Ed

Return to “Technical Discussion”

Who is online

Users browsing this forum: Bing [Bot] and 4 guests