Skip to content

Commit

Permalink
added test directory with images and report
Browse files Browse the repository at this point in the history
  • Loading branch information
Anirudh-C committed May 13, 2018
1 parent feee738 commit ee796f6
Show file tree
Hide file tree
Showing 8 changed files with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions circle_detection.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Circle Detection Module:

To run the circle detection module,

```bash
python DFA/shapes/circle_detection.py /path/to/image
```

**_Note_** : opencv, numpy are dependencies
## Some sample runs:

1. Perfect test case:

test/test1.png

Here the circles are detected almost perfectly. But the accept state is not detected as 2 circles,
because the circles are so close to each other.

2. Semi-perfect test case:

test/test2.png

test/test3.png

test/test4.png

test/test5.png

Here the states are all detected normally (except the accept state). But beyond a certain increase in curvature of arrows
there are extra circles detected.

3. Bad test cases:

test/badtest1

test/badtest2

Here even the states are not detected properly.

I think this can be fixed when arrow detection is done.

The circles which share a common arc with the arrows must be deleted.
Binary file added test/badtest1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added test/badtest2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added test/test1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added test/test2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added test/test3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added test/test4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added test/test5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ee796f6

Please sign in to comment.