使用YOLO和旧手机搭建实时目标追踪相机
darkzodchi
this is wild... this guy reverse-engineered his phone with Fable 5.2 into an AI camera that texts when anything happens at home it sees who walks in, where they go, if someone falls, and if your dog is on the couch again, live it's free, open source and runs on a regular Mac here's the full breakdown: step 1 → install YOLO with one command: pip install ultralytics step 2 → pick your camera: source=0 for a webcam, or an IP camera app on an old phone that gives you an rtsp:// link step 3 → track everyone in the room: yolo track model=https://t.co/Y0Ycn2JLp4 source=0 classes=0,15,16 show=True people, cats and dogs each get a box and an ID that sticks to them from frame to frame step 4 → mark your zones: front door, kitchen, couch, balcony. each zone is just 4 corner points on the frame, saved as a list in Python step 5 → have a small Python script check which zone every ID is in and log it: 14:32 person entered through the door, 14:33 person in kitchen step 6 → catch falls: swap to https://t.co/R2CxENDRv1 and you get 17 body points per person. if the hips drop to head level and stay there for 10+ seconds, it's a fall step 7 → get the alert: the script pings you in Telegram with a snapshot the moment someone enters while you're away, someone falls, or the dog jumps on the couch step 8 → save only what matters: record a 10-second clip only when a person shows up, so you don't scroll through 8 hours of an empty hallway under the hood: → YOLO looks at each frame only once and finds every person and pet in that single pass, which is why it keeps up with live video → the tracker (BoT-SORT by default, ByteTrack if you want it lighter) keeps the same ID on the same person even when they walk behind the fridge for a second → everything runs locally on your Mac, so no video of your apartment ever goes to someone's cloud try it yourself, link in comments 👇 then read the guide on how to reverse-engineer any device with Claude:查看原帖