Search part if a image

Discussion related to "under the hood" OpenMV topics.
ten123
Posts: 3
Joined: Mon May 21, 2018 2:26 pm

Search part if a image

Postby ten123 » Mon May 21, 2018 2:33 pm

Hello :D ,

I recently got my OpenMV cam and wanted to make it run.
I started finding lines and realized how slow it is, so I would like to search only a part of a image, since I roughly know where it should be.

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

Re: Search part if a image

Postby kwagyeman » Mon May 21, 2018 11:34 pm

Hi, find_line_segments is really slow yes, but, it uses the super accurate desktop code. Note that you wouldn't get better performance on a PI using OpenCV for find_line_segments, we use the same algorithm based on the LSD line segment detector.

That said, I previously had a faster line segment detector before I took out because a customer wanted it to be more stable. I will look to adding the faster version (it does like 20 FPS) back in soon.

Um, anyway, just pass the "roi=(x,y,w,h)" argument to the method to get faster compute.
Nyamekye,
ten123
Posts: 3
Joined: Mon May 21, 2018 2:26 pm

Re: Search part if a image

Postby ten123 » Wed May 23, 2018 3:28 pm

Sorry for the late reply :D

Tried it and it works, thanks.

The amount of quality and support a peson gets with openMV is amazing.

Return to “Technical Discussion”

Who is online

Users browsing this forum: Baidu [Spider] and 2 guests