diff --git a/.gitignore b/.gitignore index 1fcb152..e29639e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,58 @@ -out +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] + +# C extensions +*.so + +# Distribution / packaging +bin/ +build/ +develop-eggs/ +dist/ +eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +out/ +*.egg-info/ +.installed.cfg +*.egg + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +.tox/ +.coverage +.cache +nosetests.xml +coverage.xml + +# Translations +*.mo + +# Mr Developer +.mr.developer.cfg +.project +.pydevproject + +# Rope +.ropeproject + +# Django stuff: +*.log +*.pot + +# Sphinx documentation +docs/_build/ + +# Temp +.venv/ +.vscode/ + +# Config file +src/config/config.json \ No newline at end of file diff --git a/md/nuts.md b/md/nuts.md deleted file mode 100644 index 229a75b..0000000 --- a/md/nuts.md +++ /dev/null @@ -1,18 +0,0 @@ -### Jullie gaan noten herkennen - -Hoe de neuk? Nut. -1. Hoe gaan we de noten herkennen (beeld, smaak, geluid, text)? - - Beeldherkenning lol -2. Wat zijn de visuele kenmerken van de noten? - - Vorm, kleur, textuur, grootte -3. Hoeveel noten willen we herkennen - - Qua type, hoeveel verschillende noten - - Qua tijd, hoeveel noten tegelijkertijd -4. Wat is de achtergrond -5. Met wat voor camera worden de noten bekeken -6. Is de noot verwerkt - -De deelvragen moeten sequentieel zijn - - -Wij moeten presenteren volgende week diff --git a/src/adj.py b/old/adj.py similarity index 100% rename from src/adj.py rename to old/adj.py diff --git a/src/config/config.template.json b/src/config/config.template.json new file mode 100644 index 0000000..7594d9d --- /dev/null +++ b/src/config/config.template.json @@ -0,0 +1,4 @@ +{ + "path": "", + "size": 750 +} \ No newline at end of file diff --git a/src/helpers/algorithms/canny_map.py b/src/experiments/algorithms/canny_map.py similarity index 100% rename from src/helpers/algorithms/canny_map.py rename to src/experiments/algorithms/canny_map.py diff --git a/src/helpers/algorithms/colourspace.py b/src/experiments/algorithms/colourspace.py similarity index 100% rename from src/helpers/algorithms/colourspace.py rename to src/experiments/algorithms/colourspace.py diff --git a/src/helpers/algorithms/image/test.jpg b/src/experiments/algorithms/image/test.jpg similarity index 100% rename from src/helpers/algorithms/image/test.jpg rename to src/experiments/algorithms/image/test.jpg diff --git a/src/helpers/algorithms/orb.py b/src/experiments/algorithms/orb.py similarity index 100% rename from src/helpers/algorithms/orb.py rename to src/experiments/algorithms/orb.py diff --git a/src/helpers/algorithms/sift.py b/src/experiments/algorithms/sift.py similarity index 100% rename from src/helpers/algorithms/sift.py rename to src/experiments/algorithms/sift.py diff --git a/src/helpers/algorithms/sift_v2.py b/src/experiments/algorithms/sift_v2.py similarity index 100% rename from src/helpers/algorithms/sift_v2.py rename to src/experiments/algorithms/sift_v2.py diff --git a/src/helpers/algorithms/sift_v3.py b/src/experiments/algorithms/sift_v3.py similarity index 100% rename from src/helpers/algorithms/sift_v3.py rename to src/experiments/algorithms/sift_v3.py diff --git a/src/tree_edge.py b/src/experiments/algorithms/tree_edge.py similarity index 100% rename from src/tree_edge.py rename to src/experiments/algorithms/tree_edge.py diff --git a/src/helpers/template_extraction/input/callibratie_recht.jpg b/src/experiments/template_extraction/input/callibratie_recht.jpg similarity index 100% rename from src/helpers/template_extraction/input/callibratie_recht.jpg rename to src/experiments/template_extraction/input/callibratie_recht.jpg diff --git a/src/helpers/template_extraction/input/callibratie_scheef.jpg b/src/experiments/template_extraction/input/callibratie_scheef.jpg similarity index 100% rename from src/helpers/template_extraction/input/callibratie_scheef.jpg rename to src/experiments/template_extraction/input/callibratie_scheef.jpg diff --git a/src/helpers/template_extraction/input/scheef.jpg b/src/experiments/template_extraction/input/scheef.jpg similarity index 100% rename from src/helpers/template_extraction/input/scheef.jpg rename to src/experiments/template_extraction/input/scheef.jpg diff --git a/src/helpers/template_extraction/input/template.jpg b/src/experiments/template_extraction/input/template.jpg similarity index 100% rename from src/helpers/template_extraction/input/template.jpg rename to src/experiments/template_extraction/input/template.jpg diff --git a/src/helpers/template_extraction/input/wood.jpg b/src/experiments/template_extraction/input/wood.jpg similarity index 100% rename from src/helpers/template_extraction/input/wood.jpg rename to src/experiments/template_extraction/input/wood.jpg diff --git a/src/helpers/template_extraction/script.py b/src/experiments/template_extraction/script.py similarity index 100% rename from src/helpers/template_extraction/script.py rename to src/experiments/template_extraction/script.py diff --git a/md/notes.md b/src/helpers/algorithms.py similarity index 100% rename from md/notes.md rename to src/helpers/algorithms.py diff --git a/src/helpers/algorithms/__pycache__/pysift.cpython-311.pyc b/src/helpers/algorithms/__pycache__/pysift.cpython-311.pyc deleted file mode 100644 index 44f6a75..0000000 Binary files a/src/helpers/algorithms/__pycache__/pysift.cpython-311.pyc and /dev/null differ diff --git a/src/gui/main.ui b/src/helpers/gui/main.ui similarity index 100% rename from src/gui/main.ui rename to src/helpers/gui/main.ui diff --git a/src/suite.py b/src/suite.py index a384aa3..4359ba9 100644 --- a/src/suite.py +++ b/src/suite.py @@ -10,7 +10,8 @@ import time import matplotlib.pyplot as plt PROJECT_PATH = pathlib.Path(__file__).parent -PROJECT_UI = "./src/gui/main.ui" +PROJECT_UI = "./src/helpers/gui/main.ui" +CONFIG_PATH = "./src/config/config.json" class MainApp: def __init__(self, master=None): @@ -36,7 +37,7 @@ class MainApp: # UI self.blur_rate = None - self.img_size = None + self.img_size = 100 self.sobel_select = None self.export_id = None builder.import_variables(self,