Refactor: Extracted Edge Dection + added tests

This commit is contained in:
AlexanderHD27
2024-09-18 00:39:22 +02:00
parent e1a084697e
commit 4a805dcefe
20 changed files with 69 additions and 2 deletions

1
board-vision/.gitattributes vendored Normal file
View File

@@ -0,0 +1 @@
test/data/images filter=lfs diff=lfs merge=lfs -text

BIN
board-vision/.gitignore (Stored with Git LFS) vendored

Binary file not shown.

15
board-vision/.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,15 @@
{
"python.testing.pytestArgs": [
"--cov-report", "xml:cov.xml",
"--cov-report", "term",
"--cov=src",
"test",
],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true,
"coverage-gutters.coverageFileNames": [
"cov.xml",
],
"coverage-gutters.coverageBaseDir": "**",
"testing.coverageToolbarEnabled": true
}

BIN
board-vision/src/vision/countourFiltering.py (Stored with Git LFS) Normal file

Binary file not shown.

BIN
board-vision/src/vision/goboard_dectection.py (Stored with Git LFS) Normal file

Binary file not shown.

BIN
board-vision/src/vision/preproc.py (Stored with Git LFS) Normal file

Binary file not shown.

BIN
board-vision/src/vision/preproc_fsm.py (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
board-vision/test/vision/test_edge_dection.py (Stored with Git LFS) Normal file

Binary file not shown.