sightsprite
Classification with voice alerts. Provides all the infrastructure needed to set things up, from data collection to real-time inference.
Aims for sightsprite:
- capture data (capture.py)
- label images (training.py)
- train model (training.py)
- Run inference (inference.py)
- Real-time inference with voice alerts (inference.py)
Uses for sightsprite
Could be used for any classification task where yuou want voice alerts when certain types of visual inputs are detected (e.g., dog is on furniture). Main initial use case is extremely important: detecting when I'm falling asleep on the couch at night and it yells at me to go to bed.
Plan
Once following steps working I'll consider sightsprite to be in alpha stage:
- Get
capture.pyin slightly better shape- Add ability to change width/height instead of default width x height
- fix up the weird Qt warnings in Linux
- Make some simple tests
- Capture some more data
- Train on sleep data (use deepglue), build out
training.pymodule.- Label sleep data using ImageLabeler
- Train network using deepglue tools within sandbox.
- Once training infrastructure set up, build out
inference.py- Real-time inference
- Voice alerts to nudge you.
- Build some docs to explain how it all works...
To do
- Change build back end to uv (update pyproject.toml).
- Capture a little bit more, but not too much, just enough to reignite.
- Set up minimal training pipeline.
- Inference w/o voice alerts (want high F1 for sleep label)
- Inference w/voice alerts.
- Test out in the wild.
- Regroup, go back and add more bells and whistles.
Notes etc
Any images skipped during labeling will appear first when you restart ImageLabeler
Metadata
Release files for sightsprite 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sightsprite-0.1.2.tar.gz | 3.3 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sightsprite-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.7 MB
Release files / sightsprite-0.1.2.tar.gz
| Download URL | sightsprite-0.1.2.tar.gz |
|---|---|
| Size | 3.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
da3308cc12d0f9e57864b97b208e6af2f176f914b75977abebb7c01759c7f292
|
|
BLAKE2b-256 checksum How to use checksums |
ea5869a3a21302fa127f5785e2b3b1c8634a7761cb722ef4c7de02853dd15191
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / sightsprite-0.1.2-py3-none-any.whl
| Download URL | sightsprite-0.1.2-py3-none-any.whl |
|---|---|
| Size | 3.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5fdaf0b4ff1f6c10162318ea2976a54a70f89cb0cd86f37697c283e690b0bfd3
|
|
BLAKE2b-256 checksum How to use checksums |
13052b9deb67293d41d9a046f92cb422a780a3380278395d3800f0e7b1d65133
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|