mahmutdemir/fly-walk — reverse-engineered prompt
Reverse engineered prompt
Build me a MATLAB tool for tracking flies in recorded videos, with a simple viewer so I can open a video file, hit Play, and watch the tracking happen live. I want it to work mainly with video data saved as .mat files, and if possible also support converting .avi into the format the tracker needs. It should let me set up basic experiment info like camera and source position, pixel to millimeter scale, and any borders or masked areas to ignore before tracking starts.
The tracker should follow multiple flies frame by frame, keep a full record of each fly across the whole movie, and handle common problems like flies touching, overlapping, disappearing for a moment, or getting merged into one blob and then split again. Please expose the tracking results in a clear MATLAB structure so each frame and each fly has its own stored measurements. A lightweight GUI plus programmatic access would be ideal. If you need details, look up the current MATLAB docs online.
Want more depth? Deep Reverse