Hey guys,
Is it possible to find hough lines after thresholding an image.
After trying it it just shows alot of random lines, im assuming because the sobel filter doesn’t really highlight edges on a binary image.
I’ve tried doing threshold → canny edge → find_lines as well, but it has the exact same result.
How can I find lines only around say red objects in an image.
Unfortunately segments would be too slow for my purposes.
In opencv I would usually threshold what I need to get the binary → find contours → hough transform
There must be some alternative way to do find the edges of a binary image using the openmv libs.
Just run find_lines() this method does the sobel filter and then hough transform in one step. We don’t really have the memory to due these independently like with OpenCV. So, our methods typically do multiple things per call.
The output will be a list of lines which you can filter by their angle and line strength. You have to write list processing code to do something useful with this output.