Fill LCD when using small image?

Discussion related to "under the hood" OpenMV topics.
User avatar
kwiley
Posts: 82
Joined: Fri Dec 21, 2018 5:22 pm

Fill LCD when using small image?

Postby kwiley » Sat Jan 19, 2019 2:48 am

If you set the sensor to a very small size (e.g. QQQVGA), then it doesn't fill the LCD in either dimension. I realize the aspect ratio is wrong and so either black bars or cropping would be required, but you still don't have to suffer black bars on both axes. That's a waste of space. Is there a way to instruct the LCD to fill the display with the image? I tried passing ROIs to display, both inside and outside (negative origin and width/height greater than the assigned sensor image) and neither approach worked.

Thanks.
User avatar
kwagyeman
Posts: 2798
Joined: Sun May 24, 2015 2:10 pm

Re: Fill LCD when using small image?

Postby kwagyeman » Sat Jan 19, 2019 12:04 pm

Yeah, this is a issue that the next firmware release will solve. It's on my immediate to do list. Basically, I disabled scaling in general back on the M4 and now that we have more RAM on the H7 coming out we can having scaling code again.

Um, I'm finishing up the new blob code with min_area_rect now. But, the plan is to add scaling support to the copy() method and then redo the LCD module to have scaling. I should be able to get to this by the end of next week.
Nyamekye,

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 2 guests