Skip to main content

Machine vision with voice alerts

Project description

sightsprite

sightsprite logo Real-time machine vision with voice alerts.

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:

  1. Get capture.py in 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
  2. Train on sleep data (use deepglue), build out training.py module.
    • Label sleep data using ImageLabeler
    • Train network using deepglue tools within sandbox.
  3. Once training infrastructure set up, build out inference.py
    • Real-time inference
    • Voice alerts to nudge you.
  4. 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sightsprite-0.1.2.tar.gz (3.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sightsprite-0.1.2-py3-none-any.whl (3.4 MB view details)

Uploaded Python 3

File details

Details for the file sightsprite-0.1.2.tar.gz.

File metadata

  • Download URL: sightsprite-0.1.2.tar.gz
  • Upload date:
  • Size: 3.3 MB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for sightsprite-0.1.2.tar.gz
Algorithm Hash digest
SHA256 da3308cc12d0f9e57864b97b208e6af2f176f914b75977abebb7c01759c7f292
MD5 bb8ea94b00711363b677f1adc5208bad
BLAKE2b-256 ea5869a3a21302fa127f5785e2b3b1c8634a7761cb722ef4c7de02853dd15191

See more details on using hashes here.

File details

Details for the file sightsprite-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: sightsprite-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.4 MB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for sightsprite-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5fdaf0b4ff1f6c10162318ea2976a54a70f89cb0cd86f37697c283e690b0bfd3
MD5 e9cd91013be72dd0929f63b3e6113a89
BLAKE2b-256 13052b9deb67293d41d9a046f92cb422a780a3380278395d3800f0e7b1d65133

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page