Moved some shit around
59
.gitignore
vendored
@ -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
|
18
md/nuts.md
@ -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
|
4
src/config/config.template.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"path": "",
|
||||
"size": 750
|
||||
}
|
Before Width: | Height: | Size: 2.1 MiB After Width: | Height: | Size: 2.1 MiB |
Before Width: | Height: | Size: 2.0 MiB After Width: | Height: | Size: 2.0 MiB |
Before Width: | Height: | Size: 1.9 MiB After Width: | Height: | Size: 1.9 MiB |
Before Width: | Height: | Size: 2.7 MiB After Width: | Height: | Size: 2.7 MiB |
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |
Before Width: | Height: | Size: 1.8 MiB After Width: | Height: | Size: 1.8 MiB |
@ -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,
|
||||
|