iyotetsuya / iyotetsuya/RectangleDetection
Algorithm is incorrect to find paths
- Dominant language
- Java
- Stars
- 38
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
the current one is incorrect.
https://github.com/iyotetsuya/RectangleDetection/blob/823dc19fce41abad018997957547657cabcb84f5/app/src/main/java/io/github/iyotetsuya/rectangledetection/utils/OpenCVHelper.java#L164
rough idea:
1. use four points to get center point
2. get angle values from the center point, (x,0) and each one of 4 points.
3. sort those angle values.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with app/src/main/java/io/github/iyotetsuya/rectangledetection/utils/OpenCVHelper.java around line 164 and inspect how the current path-finding logic orders the four points. Compare it with the issue's center-point and angle-sorting approach; done means the detected rectangle points are ordered into correct paths, with behavior verified against representative detections.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java, opencv
- Domain
- computer-vision, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100