memidhun/Elephant-Detection-using-ML ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple Python app that uses my webcam to detect elephants in real time with OpenCV and TensorFlow.

I want it to load the existing model and labels, open the camera, and show a live video window with a box or label when an elephant is detected. If nothing is detected, it should just keep running smoothly. Make it easy to run with a single command, and please include clear setup steps so I can install the dependencies and start it without guessing.

If the model or labels need to be swapped out later, keep that easy to change. Also, add a few basic checks so it handles missing camera or missing model files gracefully instead of crashing.

If you need to look up current docs online to make sure the TensorFlow or OpenCV code is set up correctly, go ahead and do that.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab