lepton bag files

Discussion related to "under the hood" OpenMV topics.
User avatar
JackBonnell
Posts: 13
Joined: Mon Nov 09, 2020 9:17 am
Location: London
Contact:

lepton bag files

Postby JackBonnell » Tue Nov 24, 2020 5:02 pm

is there any way if recording the lepton as a bag files with all the temperature information aswell as the imagery? :D

if not I have found my new project idea :lol:
User avatar
kwagyeman
Posts: 4857
Joined: Sun May 24, 2015 2:10 pm

Re: lepton bag files

Postby kwagyeman » Tue Nov 24, 2020 5:26 pm

In ROS? No.

We need to create a ROS driver for the interface library. Please build something around the RPC library using that for data I/O from the camera to the PC. Then make a ROS node that can just publish the data for other nodes to record.
Nyamekye,
User avatar
JackBonnell
Posts: 13
Joined: Mon Nov 09, 2020 9:17 am
Location: London
Contact:

Re: lepton bag files

Postby JackBonnell » Sun Nov 29, 2020 5:10 pm

is there anyway if resizing a image as I'm struggle to see anything in the documentation as I would like to resize VGA to QQVGA on the fly
User avatar
kwagyeman
Posts: 4857
Joined: Sun May 24, 2015 2:10 pm

Re: lepton bag files

Postby kwagyeman » Sun Nov 29, 2020 6:34 pm

Yes!!! We just added the new draw image pipeline. I’m working on the docs and they will be out tonight. I’ll drop you a link to the new method. We now have opencv level scaling support.
Nyamekye,
User avatar
kwagyeman
Posts: 4857
Joined: Sun May 24, 2015 2:10 pm

Re: lepton bag files

Postby kwagyeman » Sun Nov 29, 2020 9:36 pm

https://docs.openmv.io/library/omv.imag ... draw_image

Just alloc a new frame buffer and then use draw iamge with area scaling to reduce the resolution.

There's also a resize() method. However, this doesn't use the new scaling pipeline yet.
Nyamekye,

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 2 guests