all data is now in 'data' dir -> images, videos, classifier weights
src split into 5 subdir: comms, envrd, evthlr, gui, imgproc
comms has: mqtt module
envrd has: audio module, hand tracker and gesutre module, (eventual) object detection module, (eventual) flat surface
det module
evthlr has: (eventual) state machine module, threading module
gui has: gui module, pyqt classes for each module
imgproc has: homography module, video embed module, message board overlay module, (eventual) other overlay
modules (for hand tracker, object detection, etc.)
all test files should go into test subdir
try to avoid "if name == 'main' from now on, instead using separate test file in a relevant test subdir
test and data subdir should be changed a bit
If you guys want, I can continue to build this out before an eventual bigger commit, since this isn't quite complete/could use some editing; for example, we might want gesture rec, hand track, and even flat surface det in the imgproc or a general data proc subdir, but I think it fits where it is now (since it's all abt reading in the environment).
Also, like I said above, test and data subdirectories should probably be shuffled around a bit.
Remember, the name of the game is just ease of understanding, for our selves and anyone else looks at this. If something is a little confusing but more or less flows, don't worry too much; if I changed something in the file structure that makes no sense whatsoever, though, or you have a better way to do it, lmk and I'll shuffle stuff.
Big push, please read through and review carefully File refactor to have following structure: ├── README.md ├── data │ ├── gesture │ │ ├── classifier_coeffs │ │ │ ├── left_swipe_classifier_bias.csv │ │ │ └── left_swipe_classifier_coeffs.csv │ │ └── training_data │ │ ├── meat_gesture_database_testing.csv │ │ ├── meat_gesture_database_testing_fixed.csv │ │ ├── meat_gesture_database_training.csv │ │ └── meat_gesture_database_training_fixed.csv │ ├── gui │ │ ├── model.png │ │ ├── model_qr.png │ │ ├── video.mp4 │ │ └── video2.mp4 │ ├── img │ │ ├── hom_model │ │ │ ├── both_env.png │ │ │ ├── both_model.png │ │ │ ├── bottom_right_env.png │ │ │ ├── bottom_right_model.png │ │ │ ├── env.png │ │ │ ├── env2.png │ │ │ └── model.png │ │ └── vid_model │ │ └── model.png │ └── vid │ ├── video.mp4 │ └── video2.mp4 ├── environment.yml ├── run_clang.sh ├── src │ ├── comms │ │ └── mqtt │ │ ├── message_schema.json │ │ ├── mqtt_link.py │ │ └── mqtt_message.py │ ├── envrd │ │ ├── init.py │ │ ├── audio.py │ │ ├── gesture_detector │ │ │ ├── gest_classifier.py │ │ │ └── training │ │ │ ├── IMU.py │ │ │ ├── LIS3MDL.py │ │ │ ├── LSM6DSL.py │ │ │ ├── LSM9DS0.py │ │ │ ├── LSM9DS1.py │ │ │ ├── calibrateBerryIMU.py │ │ │ ├── create_gesture_database.py │ │ │ ├── csv_test.py │ │ │ ├── gesture_training.py │ │ │ └── soft_SVM.py │ │ ├── hand_tracker.py │ │ └── objdet │ ├── evthlr │ ├── gui │ │ ├── gui.py │ │ └── gui_fsm.py │ └── imgproc │ ├── homography │ │ └── static_homography.py │ ├── message_placer.py │ └── video_embedder │ ├── init.py │ ├── vid_embed.py │ └── vid_embed_gui.py └── test ├── comms │ ├── rx.py │ └── tx.py ├── envrd │ ├── test_audio.py │ └── test_speech.py ├── gui │ ├── gui.py │ ├── model.png │ └── model2.png ├── imgproc │ └── test_vid_embed.py └── test.py
Notes on structure:
modules (for hand tracker, object detection, etc.)
If you guys want, I can continue to build this out before an eventual bigger commit, since this isn't quite complete/could use some editing; for example, we might want gesture rec, hand track, and even flat surface det in the imgproc or a general data proc subdir, but I think it fits where it is now (since it's all abt reading in the environment). Also, like I said above, test and data subdirectories should probably be shuffled around a bit.
Remember, the name of the game is just ease of understanding, for our selves and anyone else looks at this. If something is a little confusing but more or less flows, don't worry too much; if I changed something in the file structure that makes no sense whatsoever, though, or you have a better way to do it, lmk and I'll shuffle stuff.