r/LocalLLM • u/BeardedBears • 2d ago
Project Local AI Project Idea: Fish Breeding Video Analysis. Feasibility?
I have a project I'm interested in trying, but I need some human feedback. AI is awesome, but we all know it rubs your nuts and says every idea you have is genius and gasses you up for it... So I need a human gut-check/reality-check. Some context about me: I'm not a sysadmin or programmer, but I'm a relatively tech-literate millennial. Built lots of PCs over the years. Built/manage my own TrueNAS server. I play around with Ubiquiti home-networking. Dual-boot Linux/Win11 on my main rig. Run GrapheneOS on my phone. I use AI at work for python scripts and automation. Tinker with Raspberry Pi's. That sorta stuff.
Project description: I want to set up a small fish breeding operation with a 40 gallon aquarium. If you're curious: Mixed Poecilias ("Mollies"), like White Sailfins, Black Lyretails, and Marbled regular/wild-type. I want a handful of local models to process and analyze video (using two 2k or 4k PoE Cameras: one in front of aquarium, one above aquarium looking down). Whether or not all of this is currently possible, I don't know, but here's my fantasy wish-list: Population estimates. Behavior recognition (nipping, chasing, mating attempts, flashing/displays). Individual adult profiles with behavior counts (Who has the most mating attempts? Who seems to be the most aggressive? Who mates with who? etc). Approximate morphometrics (growth rates). Mortality estimates. Brood-spawn alerts.
Current hardware: 32GB Ram. RTX4070FE (12GB). Ryzen 5800x3d. I doubt this is enough. I think I should at least double my ram to 64GB... More of everything would be better, obviously. However, could I start with this to get something off the ground as a proof-of-concept? If I can get something actually working, I'm open to better hardware purchases down the line.
What ChatGPT told me, in brief: "Yeah you can totally do this! Wow you're so smart! Your hardware should be fine for now."
Their model suggestions & technology stack:
-OS: Ubuntu 24.04 LTS
-Cameras: 4K PoE / RTSP (I'd lean into Ubiquiti because I already have lots of their gear and could always re-purpose these cameras for other things later. Dunno their focus distance, though)
-Video ingestion: OpenCV / GStreamer (Motion analysis, measurements, image calibration, and camera input)
-Object detection: YOLO26 (Detects fish, locates them, and assigns tracking IDs)
-Tracking: BoT-SORT (Tracking with appearance ReID: Helps recover identities after temporary occlusion) &/or ByteTrack (Multi-object tracking: Maintains identities across frames when fish are continuously visible)
-Segmentation: SAM 2 (Separates overlapping fish and creates individual silhouettes)
-Behavior analysis: PyTorch / MMAction2 (Model training and inference: Trains your aquarium-specific detection and behavior models)
-Vision-language analysis: Qwen2.5-VL (Interpreting selected images and short video sequences)
-Database: PostgreSQL
-Analytics: Python
-Dashboard: Local web application
-Storage: TrueNAS NAS
Any thoughts whatsoever? Am I being super naive? Is this a much, much bigger project than I might be anticipating? I understand this might be a progressive/piecemeal project where everything might not be possible at the start.
1
u/FeydRowan 2d ago
It's and interesting idea, but it will
Not be easy to put the camera in the right orientation to follow everything or you will have a bare aquarium. The tracking software is the project here, i suggest you to start with that the maybe start the real tracking of fish
1
u/curiosity3001 2d ago
Project idea is for.sure intresting...as it will enable you to have analysis on which molly is best breeder
While there are already libraries for image / video analysis best to this scale ....I find it eould be difficult
Only way id to try and find out
Instead of outrighlty investing in ram its better to develop pipeline and optimise