opencv - Detect if contour is simple curve without complex pattern or detect starting and ending points of contour -
i have problem detecting if contour simple curve or line. need filter many object can , leave interesting objects me. it's not goal filter unwanted objects. have more logic detecting required objects later cost lot of time. i'm looking low cost solution filtering unwanted object before main algorithm take part.
i have 2 examples application.
so want remove yellowish marked objects. , leave greenish marked object. don't circle everything, because many :]. thought if can observe if line starting , ending in corners of bounding box, dont'k know how can observe line starts , ends. or if i'm able observe starting , ending points of contour can decide distance.
i utilize canny border detection , find contours. , have basic filtering of object depending on size.
i'm out of ideas , stuck @ part. glad help or ideas.
i found houghlinesp job.
opencv feature-detection
No comments:
Post a Comment