Frame Buffer Quality in IDE

Discussion related to "under the hood" OpenMV topics.
noeldi
Posts: 3
Joined: Mon Nov 05, 2018 4:58 am

Frame Buffer Quality in IDE

Postby noeldi » Mon Nov 05, 2018 5:05 am

If I use a small frame size (60 x 60) is it possible to show the Frame Buffer without JPG artifacts in the IDE ?
User avatar
kwagyeman
Posts: 2386
Joined: Sun May 24, 2015 2:10 pm

Re: Frame Buffer Quality in IDE

Postby kwagyeman » Mon Nov 05, 2018 10:17 am

Yes,

Just do:

Code: Select all

img.compress(quality=95)
As the last time in the while loop.

...

This forces the frame buffer to become a jpg image at 95 percent quality.
Nyamekye,
noeldi
Posts: 3
Joined: Mon Nov 05, 2018 4:58 am

Re: Frame Buffer Quality in IDE

Postby noeldi » Mon Nov 05, 2018 2:18 pm

Thanks,
that was easy - now the quality is much better!

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 6 guests