{"id":15652711,"url":"https://github.com/nobuotsukamoto/meta-tensorflow-lite","last_synced_at":"2025-05-07T07:20:03.342Z","repository":{"id":39745780,"uuid":"277006411","full_name":"NobuoTsukamoto/meta-tensorflow-lite","owner":"NobuoTsukamoto","description":"Yocto layer for TensorFlow Lite interpreter with Python / C++.","archived":false,"fork":false,"pushed_at":"2025-05-06T08:14:39.000Z","size":769,"stargazers_count":36,"open_issues_count":4,"forks_count":18,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-07T07:19:56.406Z","etag":null,"topics":["python3","recipes","tensorflow-lite","yocto"],"latest_commit_sha":null,"homepage":"","language":"BitBake","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NobuoTsukamoto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING.MIT","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-07-03T23:51:10.000Z","updated_at":"2025-03-16T07:59:12.000Z","dependencies_parsed_at":"2023-09-27T17:12:02.901Z","dependency_job_id":"13600660-da04-45d1-9840-eb979eb1451a","html_url":"https://github.com/NobuoTsukamoto/meta-tensorflow-lite","commit_stats":{"total_commits":249,"total_committers":8,"mean_commits":31.125,"dds":"0.048192771084337394","last_synced_commit":"c6f3a45ed7e41f290f942371bc1dc4354d700143"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NobuoTsukamoto%2Fmeta-tensorflow-lite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NobuoTsukamoto%2Fmeta-tensorflow-lite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NobuoTsukamoto%2Fmeta-tensorflow-lite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NobuoTsukamoto%2Fmeta-tensorflow-lite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NobuoTsukamoto","download_url":"https://codeload.github.com/NobuoTsukamoto/meta-tensorflow-lite/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252831359,"owners_count":21810793,"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":["python3","recipes","tensorflow-lite","yocto"],"created_at":"2024-10-03T12:43:29.069Z","updated_at":"2025-05-07T07:20:03.222Z","avatar_url":"https://github.com/NobuoTsukamoto.png","language":"BitBake","funding_links":[],"categories":[],"sub_categories":[],"readme":"# meta-tensorflow-lite\n\nYocto layer for the TensorFlow Lite interpreter with Python / C++.\n\n## The official website is:\n- [TensorFlow Lite guide](https://www.tensorflow.org/lite/guide)\n- [Python quickstart](https://www.tensorflow.org/lite/guide/python)\n- [TensorFlow Lite](https://github.com/tensorflow/tensorflow/tree/master/tensorflow/lite)\n- [Google Coral](https://coral.ai/)\n- [Edge TPU runtime library (libedgetpu)](https://github.com/google-coral/libedgetpu)\n\n## Reference\n- [Building TensorFlow Lite Standalone Pip](https://github.com/tensorflow/tensorflow/tree/master/tensorflow/lite/tools/pip_package)\n- [Build TensorFlow Lite with CMake](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/g3doc/guide/build_cmake.md)\n- [Building with only a Makefile - libedgetpu](https://github.com/google-coral/libedgetpu/blob/master/makefile_build/README.md)\n\n## Available BSP\nPlease note that it is not official support.\n| BSP                                                              | Build status                                                                                                   |\n| :--------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------- |\n| [meta-raspberrypi](https://github.com/agherzan/meta-raspberrypi) | [![Bitbake raspberrypi](https://github.com/NobuoTsukamoto/meta-tensorflow-lite/actions/workflows/build_rpi.yml/badge.svg?branch=main)](https://github.com/NobuoTsukamoto/meta-tensorflow-lite/actions/workflows/build_rpi.yml) |\n| [meta-riscv](https://github.com/riscv/meta-riscv)                | [![Bitbake qemuriscv](https://github.com/NobuoTsukamoto/meta-tensorflow-lite/actions/workflows/build_riscv.yml/badge.svg?branch=main)](https://github.com/NobuoTsukamoto/meta-tensorflow-lite/actions/workflows/build_riscv.yml) |\n\n## Available recipes\n- framework\n  - python3-tensorflow-lite  \n    [Python3 interpreter](recipes-framework/tensorflow-lite/python3-tensorflow-lite_2.19.0.bb)\n  - libtensorflow-lite  \n    [C++ API shared library](recipes-framework/tensorflow-lite/libtensorflow-lite_2.19.0.bb)\n  - libtensorflow-lite-c  \n    [C API shared library](recipes-framework/tensorflow-lite/libtensorflow-lite-c_2.19.0.bb)\n  - libedgetpu-max / libedgetpu-std  \n    [bitbake with libedgetpu](./doc/coral_libedgetpu.md)\n- examples\n  - python3-tensorflow-lite-example  \n    [TensorFlow Lite Python image classification demo](./doc/python3-tensorflow-lite-example.md)\n  - tensorflow-lite-label-image  \n    [TensorFlow Lite C++ image classification demo](./doc/tensorflow-lite-label-image.md)\n  - tensorflow-lite-minimal  \n    [TensorFlow Lite C++ minimal example](./doc/tensorflow-lite-minimal.md)\n- tools\n  - tensorflow-lite-benchmark  \n    [TFLite Model Benchmark Tool with C++ Binary](./doc/tensorflow-lite-benchmark.md)\n\n### Support version\n| Recipe          | Version |\n| :--             | :--     |\n| TensorFlow Lite | v2.19.0  |\n| libedgetpu      | e35aed18fea2e2d25d98352e5a5bd357c170bd4d |\n| FlatBuffers     | v23.5.26 |\n\n## How to\n\n### Quick start for the Raspberry Pi AArch64 (core-image-weston)\n```\n# Clone repositories and oe-init-build-env\n$ git clone git://git.yoctoproject.org/poky.git\n$ git clone git://git.yoctoproject.org/meta-raspberrypi\n$ git clone git://git.openembedded.org/meta-openembedded\n$ git clone https://github.com/NobuoTsukamoto/meta-tensorflow-lite.git\n$ source poky/oe-init-build-env build\n\n# Add layer\n$ bitbake-layers add-layer ../meta-openembedded/meta-oe/\n$ bitbake-layers add-layer ../meta-openembedded/meta-python/\n$ bitbake-layers add-layer ../meta-openembedded/meta-networking/\n$ bitbake-layers add-layer ../meta-openembedded/meta-multimedia/\n$ bitbake-layers add-layer ../meta-raspberrypi/\n$ bitbake-layers add-layer ../meta-tensorflow-lite/\n\n# Add the package to 'conf/auto.conf' file. \nMACHINE ?= \"raspberrypi4-64\"\nIMAGE_INSTALL:append = \" python3-tensorflow-lite libtensorflow-lite\"\n\n# Build\n$ bitbake core-image-weston\n```\n\n### Quick start for the qemuriscv64\n```\n# Clone repositories and oe-init-build-env\n$ git clone https://github.com/openembedded/bitbake.git\n$ git clone https://github.com/openembedded/openembedded-core.git\n$ git clone https://github.com/openembedded/meta-openembedded.git\n$ git clone https://github.com/riscv/meta-riscv.git\n$ git clone https://github.com/NobuoTsukamoto/meta-tensorflow-lite.git\n$ source openembedded-core/oe-init-build-env build\n\n# Add layer\n$ bitbake-layers add-layer ../meta-openembedded/meta-oe/\n$ bitbake-layers add-layer ../meta-openembedded/meta-python/\n$ bitbake-layers add-layer ../meta-openembedded/meta-networking/\n$ bitbake-layers add-layer ../meta-openembedded/meta-multimedia/\n$ bitbake-layers add-layer ../meta-riscv/\n$ bitbake-layers add-layer ../meta-tensorflow-lite/\n\n# Add the package to 'conf/auto.conf' file. \nMACHINE ?= \"qemuriscv64\"\nIMAGE_INSTALL:append = \" python3-tensorflow-lite  libtensorflow-lite\"\n\n# Build\n$ bitbake core-image-full-cmdline\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnobuotsukamoto%2Fmeta-tensorflow-lite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnobuotsukamoto%2Fmeta-tensorflow-lite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnobuotsukamoto%2Fmeta-tensorflow-lite/lists"}