{"id":19602341,"url":"https://github.com/scottlamb/moonfire-tflite","last_synced_at":"2025-04-27T17:32:17.035Z","repository":{"id":82257945,"uuid":"250279224","full_name":"scottlamb/moonfire-tflite","owner":"scottlamb","description":"Rust wrapper around the TensorFlow Lite C API and edgetpu C API","archived":false,"fork":false,"pushed_at":"2023-01-09T11:19:12.000Z","size":7157,"stargazers_count":9,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-05T01:51:12.505Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/scottlamb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2020-03-26T14:21:16.000Z","updated_at":"2024-11-08T04:08:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"bf7566c1-c4aa-4bed-8355-c25b00f029dd","html_url":"https://github.com/scottlamb/moonfire-tflite","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottlamb%2Fmoonfire-tflite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottlamb%2Fmoonfire-tflite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottlamb%2Fmoonfire-tflite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottlamb%2Fmoonfire-tflite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scottlamb","download_url":"https://codeload.github.com/scottlamb/moonfire-tflite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251178013,"owners_count":21548147,"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-11T09:23:37.014Z","updated_at":"2025-04-27T17:32:17.022Z","avatar_url":"https://github.com/scottlamb.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# moonfire-tflite\n\nThis is a simple Rust wrapper around the [TensorFlow\nLite](https://www.tensorflow.org/lite) and\n[edgetpu](https://github.com/google-coral/edgetpu) libraries, written by\nScott Lamb \u0026lt;slamb@slamb.org\u003e. It's primarily made to support video\nanalytics in [Moonfire NVR](https://github.com/scottlamb/moonfire-nvr).\n\nAs compared to the [tflite crate](https://crates.io/crates/tflite), advantages:\n\n*   Because it wraps the [C\n    API](https://github.com/tensorflow/tensorflow/tree/master/tensorflow/lite/c)\n    rather than the C++ API, it's simpler and quicker to build. It doesn't need\n    bindgen. (This is the primary reason I wrote my own.)\n*   It runs with a more modern version of TensorFlow, including the [specific\n    commit](https://github.com/google-coral/edgetpu/issues/44#issuecomment-589170013)\n    needed to work with the latest `edgetpu` library. (Adjusting to new\n    TensorFlow version is much easier because of the simpler API.)\n*   It wraps the `edgetpu` library as well.\n\nDisadvantages:\n\n*   It's much less mature: less usage, no documentation, no CI.\n*   It's less feature-rich; the C API can't do everything the C++ API can.\n\n## License\n\nApache-2.0. I'd like to dual-license with MIT, but the stock models I'm using\nfor test data are Apache-licensed. Eventually I will find or make new test data\nmodels and relicense.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscottlamb%2Fmoonfire-tflite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscottlamb%2Fmoonfire-tflite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscottlamb%2Fmoonfire-tflite/lists"}