Open a web page on an old phone and it watches for your lost pet
The phone becomes a free camera in your browser and sounds its alert on a possible sighting. It also watches for people, animals, motion and loud sound.
SafeOS adds an alert. It does not replace a person nearby. A phone or a browser can sleep, lose power or drop the camera, so stay within reach.
Setup needs JavaScript. The rest of this page reads without it.
Lost and Found
Watch for your lost petThe kitten clip compared with a photo from another day, and a possible sighting.
- 0–2 seconds. Lost and Found holds Toffee’s one saved photo, a kitten lying on a beige carpet.
- 2–5 seconds. The watch compares the kitten clip, on a grey carpet, with that photo twice a second.
- 5–9 seconds. A possible sighting asks "Could this be Toffee?" with the camera’s picture beside the saved photo, to check by eye.

Watching
Start watchingOn a kitten clip, the kitten walks past, Motion crosses its line and the alert arrives.
- The kitten faces the camera on a grey carpet, then gets up and walks past.
- Motion crosses its line and a movement alert arrives.
- The watch scrolls to Alerts and holds the movement alert and its picture in view.

To get an alert when a person or one of 10 kinds of animal comes into view, set up People or Wildlife.
Computer vision in your browser for motion, people and animal detection
Pick one of four ways to watch. Motion and sound compares each camera frame with the one before and reads the microphone’s level. Lost and Found compares the camera’s picture with photos of your pet, by colour and shape. People and Wildlife run an object-detection model for people and 10 kinds of animal. Open a card to see how each one works.
In your browser, on the device that watches
- Camera
- Microphone
- Your pet’s photos
- Motion: frames compared 5 times a secondFrom Camera
- Picture change: changed pixels counted 5 times a secondFrom Camera
- Sound level: read 10 times a secondFrom Microphone
- Lost and Found: colours and outline compared up to twice a second, fewer on a slow deviceFrom Camera · Your pet’s photos
- People and Wildlife: COCO-SSD on TensorFlow.js, on the graphics chip or else the processor, 18.6 MB, saved after you agreeFrom Camera
- The alert: a sound, a notification if the browser allows it, and a line in HistoryFrom Motion · Picture change · Sound level · Lost and Found · People and Wildlife
- Kept in this browser: settings, alerts, saved frames, your pet’s photos and the model
Only with a server you run
- Frames from the Motion and sound page
- Email, text and Telegram alerts from the server’s own look at the frames
- A model on your server, or a hosted one when you give it a key
Motion and sound
It compares each camera frame with the one before, five times a second, and reads the microphone’s level ten times a second. It alerts when movement or loudness stays above the level you set. It reads how loud a sound is and cannot tell a bark from a slammed door.
It can also alert when nothing has moved for a time you set, from 1 to 60 minutes.
The five alert sounds are tones the browser makes, so they need no file and play offline.
Lost and Found
Add 1 to 5 photos of your pet. SafeOS compares what the camera sees with them, by colour and shape, and shows a possible sighting beside your photo for you to check. Another animal, or a cushion in similar colours, can raise one. It works best in daylight.
The browser reads each photo’s colours, its 5 main colours, its outline on an 8 by 8 grid and its size, and compares parts of the camera’s picture with them up to twice a second, fewer on a slow device.
People
It alerts when more people are in view than you allow, from 0 to 10. Set it to 0 for an empty place and it alerts when someone comes into view. It counts people and does not know who anyone is.
It runs an object-detection model in your browser, on the graphics chip; without hardware WebGL it runs on the processor, slower. It checks up to twice a second, after its own motion check.
The model downloads from Google’s storage only after you agree, and Google sees your IP address when it does. Your browser then keeps it, and People and Wildlife both load it from there.
Wildlife
It alerts on 10 kinds of animal: dog, cat, bird, horse, sheep, cow, elephant, bear, zebra and giraffe. It has no name for any other animal, and a sighting keeps its picture in this browser while Keep alert pictures is on.
It runs the same model as People, once a second at most, after its own motion check.
Works offline once saved
Open safeos.sh once online and the browser saves the app’s files. After that, Motion and sound runs with no internet connection, and so does Lost and Found. People and Wildlife do too once their model is saved.
Clearing the browser’s storage removes the saved copy; the next visit online saves it again.
What stays on your device
Frames are compared in your browser. Settings, alerts, your pet’s photos and the frames a page saves stay in this browser’s storage.
Settings, alerts, saved frames and your pet’s photos are kept in this browser’s own storage, and the model in its Cache Storage.
Read the privacy pageOne device does the watching and the alerting
The device that watches is the one that sounds the alert. It shows a notification if the browser allows it and lists the alert in History, with a picture of the moment unless you turn that off. To reach another phone, you run a server of your own.
Open safeos.sh on the device that will watch.
An old phone, a tablet or a laptop works, and so does a USB webcam. SafeOS uses any camera your browser can open. Point it at any spot, indoors or out. Plug it in, keep it out of direct sun and set its screen to stay on, because a device that sleeps stops watching.
See the browser list in the FAQGo through setup.
It has 2 short steps. At step 1 the browser asks for the camera and microphone, then you say what the device is watching.
Stay within earshot.
The alert is a sound on that device, so stay where you can hear it. A motion or sound alert nobody acknowledges climbs five levels, each louder, and the top level repeats until it is acknowledged.
What a server you run adds
safeos.sh shows the camera and sounds the alert only on the device that is watching. A server you run adds:
- Email, text and Telegram alerts, from the server’s own look at the frames
- Descriptions of frames by a model on the server, or a hosted model when you give it a key
What people set it up for
A baby’s nap
Motion and loud-sound alerts for a short nap while you are close by. It reacts to movement and noise in the room.
SafeOS is not a medical device: it does not monitor breathing and cannot prevent SIDS. Safe-sleep guidance (NIH)
Set it up for a napA pet while you are out
Leave an old phone watching for a short while. It can play a sound you recorded when it sees motion, and History lists each alert for when you are back.
Set it up for your petAn elderly parent
Set the device up together, with their agreement. It alerts in the room on motion, a loud sound or a set time of stillness. It cannot tell why nothing has moved or whether someone needs help, and it calls no one.
Set it up togetherA lost pet near home
Point a camera at the yard or the porch. SafeOS compares what it sees with the colours and shape in your pet’s photos and alerts on a possible sighting. It cannot tell your pet from a look-alike, so post an alert on PawBoost or Petco Love Lost too.
Set it up for a lost petBackyard wildlife
The Wildlife page uses an object-detection model to spot 10 kinds of animal, birds, cats and dogs among them. It keeps each sighting’s picture in your browser unless you turn that off.
Set it up for wildlife
Free on safeos.sh, with the code in the open
All four ways to watch are free on safeos.sh, People, Wildlife and Lost and Found included. SafeOS can be free because safeos.sh is a static site, built from its open-source code, and GitHub Pages hosts it at no charge, as it does for public repositories. The checks run in the browser of the device that holds the camera, and so does the deep-learning model People and Wildlife use. Frame builds SafeOS and pays for its development.
The code is MIT-licensed, so anyone can read it, change it and run their own copy.
SafeOS is experimental software, provided as is.
No account and no paid plan.
Setup has 2 short steps and asks for the camera at step 1.