├── LICENSE.md ├── README.md ├── eye ├── .gitignore ├── .vscode │ └── extensions.json ├── include │ ├── README │ ├── flatbuffers-hack │ │ └── utility.h │ ├── mbot-vision-config.h-example │ └── mbot-vision │ │ ├── common.h │ │ ├── datalog.h │ │ ├── detection │ │ ├── detector.h │ │ └── objectdetector.h │ │ ├── framerate.h │ │ ├── http │ │ ├── async-stream.h │ │ ├── event-stream.h │ │ ├── httpd.h │ │ ├── index.h │ │ └── jpeg-stream.h │ │ ├── image │ │ ├── camera.h │ │ ├── colorspace.h │ │ └── jpeg.h │ │ ├── mbot-pwm.h │ │ └── wiring.h ├── lib │ ├── esp-nn │ ├── model │ ├── tflite-lib │ └── tjpgdec │ │ ├── README │ │ └── src │ │ ├── tjpgd.c │ │ ├── tjpgd.h │ │ └── tjpgdcnf.h ├── platformio.ini ├── src │ ├── datalog.cpp │ ├── detector │ │ ├── detector.cpp │ │ ├── objectdetector-tfmicro.h │ │ ├── objectdetector-tinymaix.h │ │ └── objectdetector.cpp │ ├── eye.cpp │ ├── framerate.cpp │ ├── http │ │ ├── async-stream.cpp │ │ ├── event-stream.cpp │ │ ├── httpd.cpp │ │ └── jpeg-stream.cpp │ ├── image │ │ ├── camera.cpp │ │ ├── colorspace.cpp │ │ └── jpeg.cpp │ └── mbot-pwm.cpp └── test │ └── README ├── mbot-vision.code-workspace ├── mbot.jpg ├── model ├── .gitignore ├── Makefile ├── requirements.txt ├── src │ ├── annotate_yolov5.py │ ├── annotate_yolov5_seg.py │ ├── annotate_yolov8_seg.py │ ├── coco-bad-samples.txt │ ├── coco-labels-2014_2017.txt │ ├── coco.py │ ├── configs │ │ ├── fdmobilenet_025_10x6.py │ │ ├── fdmobilenet_025_5x3.py │ │ ├── mobilenet_v1_025_10x6.py │ │ ├── mobilenet_v1_025_5x3.py │ │ ├── mobilenet_v3_micro.py │ │ ├── mobilenet_v3_small.py │ │ ├── mvnet_micro.py │ │ ├── mvnet_micro_memory.py │ │ ├── mvnet_micro_noatt.py │ │ ├── tmnet_micro.py │ │ └── yolov6p.py │ ├── convert.py │ ├── convert_onnx_int64.py │ ├── cpp │ │ └── mbot-vision-model.h │ ├── dataset.py │ ├── image.py │ ├── model.py │ ├── models │ │ ├── detection.py │ │ ├── memory.py │ │ ├── mobilenet_v1.py │ │ ├── mobilenet_v3.py │ │ ├── mvnet.py │ │ ├── tmnet.py │ │ └── yolov6.py │ ├── summary.py │ ├── train.py │ ├── validate.py │ └── yolov6 │ │ ├── layers │ │ ├── common.py │ │ └── dbb_transforms.py │ │ ├── models │ │ ├── efficientrep.py │ │ └── reppan.py │ │ ├── solver │ │ └── build.py │ │ └── utils │ │ ├── config.py │ │ └── torch_utils.py └── test │ ├── dataset_test.py │ └── run_tests.sh └── scratch.png /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/README.md -------------------------------------------------------------------------------- /eye/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/.gitignore -------------------------------------------------------------------------------- /eye/.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/.vscode/extensions.json -------------------------------------------------------------------------------- /eye/include/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/include/README -------------------------------------------------------------------------------- /eye/include/flatbuffers-hack/utility.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/include/flatbuffers-hack/utility.h -------------------------------------------------------------------------------- /eye/include/mbot-vision-config.h-example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/include/mbot-vision-config.h-example -------------------------------------------------------------------------------- /eye/include/mbot-vision/common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/include/mbot-vision/common.h -------------------------------------------------------------------------------- /eye/include/mbot-vision/datalog.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/include/mbot-vision/datalog.h -------------------------------------------------------------------------------- /eye/include/mbot-vision/detection/detector.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/include/mbot-vision/detection/detector.h -------------------------------------------------------------------------------- /eye/include/mbot-vision/detection/objectdetector.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/include/mbot-vision/detection/objectdetector.h -------------------------------------------------------------------------------- /eye/include/mbot-vision/framerate.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/include/mbot-vision/framerate.h -------------------------------------------------------------------------------- /eye/include/mbot-vision/http/async-stream.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/include/mbot-vision/http/async-stream.h -------------------------------------------------------------------------------- /eye/include/mbot-vision/http/event-stream.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/include/mbot-vision/http/event-stream.h -------------------------------------------------------------------------------- /eye/include/mbot-vision/http/httpd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/include/mbot-vision/http/httpd.h -------------------------------------------------------------------------------- /eye/include/mbot-vision/http/index.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/include/mbot-vision/http/index.h -------------------------------------------------------------------------------- /eye/include/mbot-vision/http/jpeg-stream.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/include/mbot-vision/http/jpeg-stream.h -------------------------------------------------------------------------------- /eye/include/mbot-vision/image/camera.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/include/mbot-vision/image/camera.h -------------------------------------------------------------------------------- /eye/include/mbot-vision/image/colorspace.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/include/mbot-vision/image/colorspace.h -------------------------------------------------------------------------------- /eye/include/mbot-vision/image/jpeg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/include/mbot-vision/image/jpeg.h -------------------------------------------------------------------------------- /eye/include/mbot-vision/mbot-pwm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/include/mbot-vision/mbot-pwm.h -------------------------------------------------------------------------------- /eye/include/mbot-vision/wiring.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/include/mbot-vision/wiring.h -------------------------------------------------------------------------------- /eye/lib/esp-nn: -------------------------------------------------------------------------------- 1 | ../../../tflite-micro-esp-examples/components/esp-nn -------------------------------------------------------------------------------- /eye/lib/model: -------------------------------------------------------------------------------- 1 | ../../model/output -------------------------------------------------------------------------------- /eye/lib/tflite-lib: -------------------------------------------------------------------------------- 1 | ../../../tflite-micro-esp-examples/components/tflite-lib -------------------------------------------------------------------------------- /eye/lib/tjpgdec/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/lib/tjpgdec/README -------------------------------------------------------------------------------- /eye/lib/tjpgdec/src/tjpgd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/lib/tjpgdec/src/tjpgd.c -------------------------------------------------------------------------------- /eye/lib/tjpgdec/src/tjpgd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/lib/tjpgdec/src/tjpgd.h -------------------------------------------------------------------------------- /eye/lib/tjpgdec/src/tjpgdcnf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/lib/tjpgdec/src/tjpgdcnf.h -------------------------------------------------------------------------------- /eye/platformio.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/platformio.ini -------------------------------------------------------------------------------- /eye/src/datalog.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/src/datalog.cpp -------------------------------------------------------------------------------- /eye/src/detector/detector.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/src/detector/detector.cpp -------------------------------------------------------------------------------- /eye/src/detector/objectdetector-tfmicro.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/src/detector/objectdetector-tfmicro.h -------------------------------------------------------------------------------- /eye/src/detector/objectdetector-tinymaix.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/src/detector/objectdetector-tinymaix.h -------------------------------------------------------------------------------- /eye/src/detector/objectdetector.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/src/detector/objectdetector.cpp -------------------------------------------------------------------------------- /eye/src/eye.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/src/eye.cpp -------------------------------------------------------------------------------- /eye/src/framerate.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/src/framerate.cpp -------------------------------------------------------------------------------- /eye/src/http/async-stream.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/src/http/async-stream.cpp -------------------------------------------------------------------------------- /eye/src/http/event-stream.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/src/http/event-stream.cpp -------------------------------------------------------------------------------- /eye/src/http/httpd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/src/http/httpd.cpp -------------------------------------------------------------------------------- /eye/src/http/jpeg-stream.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/src/http/jpeg-stream.cpp -------------------------------------------------------------------------------- /eye/src/image/camera.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/src/image/camera.cpp -------------------------------------------------------------------------------- /eye/src/image/colorspace.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/src/image/colorspace.cpp -------------------------------------------------------------------------------- /eye/src/image/jpeg.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/src/image/jpeg.cpp -------------------------------------------------------------------------------- /eye/src/mbot-pwm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/src/mbot-pwm.cpp -------------------------------------------------------------------------------- /eye/test/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/eye/test/README -------------------------------------------------------------------------------- /mbot-vision.code-workspace: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/mbot-vision.code-workspace -------------------------------------------------------------------------------- /mbot.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/mbot.jpg -------------------------------------------------------------------------------- /model/.gitignore: -------------------------------------------------------------------------------- 1 | dataset 2 | *.pt 3 | .idea 4 | __pycache__ 5 | experiments 6 | output/* 7 | -------------------------------------------------------------------------------- /model/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/Makefile -------------------------------------------------------------------------------- /model/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/requirements.txt -------------------------------------------------------------------------------- /model/src/annotate_yolov5.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/annotate_yolov5.py -------------------------------------------------------------------------------- /model/src/annotate_yolov5_seg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/annotate_yolov5_seg.py -------------------------------------------------------------------------------- /model/src/annotate_yolov8_seg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/annotate_yolov8_seg.py -------------------------------------------------------------------------------- /model/src/coco-bad-samples.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/coco-bad-samples.txt -------------------------------------------------------------------------------- /model/src/coco-labels-2014_2017.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/coco-labels-2014_2017.txt -------------------------------------------------------------------------------- /model/src/coco.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/coco.py -------------------------------------------------------------------------------- /model/src/configs/fdmobilenet_025_10x6.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/configs/fdmobilenet_025_10x6.py -------------------------------------------------------------------------------- /model/src/configs/fdmobilenet_025_5x3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/configs/fdmobilenet_025_5x3.py -------------------------------------------------------------------------------- /model/src/configs/mobilenet_v1_025_10x6.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/configs/mobilenet_v1_025_10x6.py -------------------------------------------------------------------------------- /model/src/configs/mobilenet_v1_025_5x3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/configs/mobilenet_v1_025_5x3.py -------------------------------------------------------------------------------- /model/src/configs/mobilenet_v3_micro.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/configs/mobilenet_v3_micro.py -------------------------------------------------------------------------------- /model/src/configs/mobilenet_v3_small.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/configs/mobilenet_v3_small.py -------------------------------------------------------------------------------- /model/src/configs/mvnet_micro.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/configs/mvnet_micro.py -------------------------------------------------------------------------------- /model/src/configs/mvnet_micro_memory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/configs/mvnet_micro_memory.py -------------------------------------------------------------------------------- /model/src/configs/mvnet_micro_noatt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/configs/mvnet_micro_noatt.py -------------------------------------------------------------------------------- /model/src/configs/tmnet_micro.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/configs/tmnet_micro.py -------------------------------------------------------------------------------- /model/src/configs/yolov6p.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/configs/yolov6p.py -------------------------------------------------------------------------------- /model/src/convert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/convert.py -------------------------------------------------------------------------------- /model/src/convert_onnx_int64.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/convert_onnx_int64.py -------------------------------------------------------------------------------- /model/src/cpp/mbot-vision-model.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/cpp/mbot-vision-model.h -------------------------------------------------------------------------------- /model/src/dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/dataset.py -------------------------------------------------------------------------------- /model/src/image.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/image.py -------------------------------------------------------------------------------- /model/src/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/model.py -------------------------------------------------------------------------------- /model/src/models/detection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/models/detection.py -------------------------------------------------------------------------------- /model/src/models/memory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/models/memory.py -------------------------------------------------------------------------------- /model/src/models/mobilenet_v1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/models/mobilenet_v1.py -------------------------------------------------------------------------------- /model/src/models/mobilenet_v3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/models/mobilenet_v3.py -------------------------------------------------------------------------------- /model/src/models/mvnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/models/mvnet.py -------------------------------------------------------------------------------- /model/src/models/tmnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/models/tmnet.py -------------------------------------------------------------------------------- /model/src/models/yolov6.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/models/yolov6.py -------------------------------------------------------------------------------- /model/src/summary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/summary.py -------------------------------------------------------------------------------- /model/src/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/train.py -------------------------------------------------------------------------------- /model/src/validate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/validate.py -------------------------------------------------------------------------------- /model/src/yolov6/layers/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/yolov6/layers/common.py -------------------------------------------------------------------------------- /model/src/yolov6/layers/dbb_transforms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/yolov6/layers/dbb_transforms.py -------------------------------------------------------------------------------- /model/src/yolov6/models/efficientrep.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/yolov6/models/efficientrep.py -------------------------------------------------------------------------------- /model/src/yolov6/models/reppan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/yolov6/models/reppan.py -------------------------------------------------------------------------------- /model/src/yolov6/solver/build.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/yolov6/solver/build.py -------------------------------------------------------------------------------- /model/src/yolov6/utils/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/yolov6/utils/config.py -------------------------------------------------------------------------------- /model/src/yolov6/utils/torch_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/src/yolov6/utils/torch_utils.py -------------------------------------------------------------------------------- /model/test/dataset_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/test/dataset_test.py -------------------------------------------------------------------------------- /model/test/run_tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/model/test/run_tests.sh -------------------------------------------------------------------------------- /scratch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikljohansson/mbot-vision/HEAD/scratch.png --------------------------------------------------------------------------------