venomboss985 / DMV4

Data collection script for MonsterVision4

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DMV4

Data collection script for MonsterVision4. Since MV4 is most likely not going to be done before a scrimmage match on Feb 18th, this is going to stand in it's place. While it's not the program we would hope it is (ie. recognizing April Tags, object detection, etc.), this will assist with building the final object detection model by periodically taking pictures with an OAK camera and saving it to disk.

MVP (Minimum Viable Product)

  • Collects data at a specified interval
  • Saves content to disk (does not matter if some content is corrupted, so long as most of them survive)
  • Runs on boot

TODO

Update: Nothing left to do, tested and working on the Pi 5 and OAK-D Lite; definite improvements can be made, but only when there's more time

  • Import lib
    • depthai
    • opencv-contrib-python
  • Data collection
    • Working picture save (video is much better for data collection)
    • Working video save (framerate is super weird, further testing required)
    • Test which method is more space efficient (use 1080p15, 30 if more data is wanted)
  • Test configurations:
    • Mono camera
    • Stereo cameras (use mono camera)
    • All cameras (use mono camera)
  • Run on boot (either cronjob, .bashrc, or something)
  • Make sure contents are saved properly after shutdown

About

Data collection script for MonsterVision4

License:MIT License


Languages

Language:Python 100.0%