{"id":21081755,"url":"https://github.com/openvoiceos/precise_lite_runner","last_synced_at":"2025-07-18T16:35:00.755Z","repository":{"id":57454597,"uuid":"408145063","full_name":"OpenVoiceOS/precise_lite_runner","owner":"OpenVoiceOS","description":null,"archived":false,"fork":false,"pushed_at":"2023-04-12T08:34:46.000Z","size":41,"stargazers_count":4,"open_issues_count":1,"forks_count":2,"subscribers_count":5,"default_branch":"dev","last_synced_at":"2025-07-04T17:55:56.269Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpenVoiceOS.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-19T14:12:12.000Z","updated_at":"2025-02-11T06:28:52.000Z","dependencies_parsed_at":"2024-11-19T20:11:03.946Z","dependency_job_id":"ba9a0a8a-0f16-4ac9-b455-ab81dbe52b9c","html_url":"https://github.com/OpenVoiceOS/precise_lite_runner","commit_stats":{"total_commits":9,"total_committers":3,"mean_commits":3.0,"dds":0.2222222222222222,"last_synced_commit":"14ec98953a7847be4e8feb97d0ba84f73037939e"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/OpenVoiceOS/precise_lite_runner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenVoiceOS%2Fprecise_lite_runner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenVoiceOS%2Fprecise_lite_runner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenVoiceOS%2Fprecise_lite_runner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenVoiceOS%2Fprecise_lite_runner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenVoiceOS","download_url":"https://codeload.github.com/OpenVoiceOS/precise_lite_runner/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenVoiceOS%2Fprecise_lite_runner/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265793643,"owners_count":23829177,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T20:10:49.199Z","updated_at":"2025-07-18T16:35:00.732Z","avatar_url":"https://github.com/OpenVoiceOS.png","language":"Python","readme":"# Precise Lite Runner\n\nuse precise-lite models in your projects\n\nThis package supports both tflite-runner and the full tensorflow.\nTo install with tflite, use `pip install precise_lite_runner[tflite]`.\nFor the full tensorflow use `pip install precise_lite_runner[full]`.\n\n```python\nfrom precise_lite_runner import PreciseLiteListener, ReadWriteStream\n\nstream = None # if stream is None it will open a pyaudio stream automatically\n# stream = ReadWriteStream()  \n\nchunk_size = 2048\nprecise_model = \"/path/here.tflite\"\n\ndef on_activation():\n    has_found = True # do something\n\nrunner = PreciseLiteListener(model=precise_model, stream=stream, chunk_size=chunk_size,\n                             trigger_level=3, sensitivity=0.5, on_activation=on_activation)\n\n            \nrunner.start()\n\nwhile True:\n  # stream.write(chunk) # feed audio from somewhere if using ReadWriteStream\n  sleep(1)\n  \nrunner.stop()\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenvoiceos%2Fprecise_lite_runner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenvoiceos%2Fprecise_lite_runner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenvoiceos%2Fprecise_lite_runner/lists"}