{"id":14959068,"url":"https://github.com/ivansafonov/qt-tf-lite-example","last_synced_at":"2026-02-02T15:12:16.685Z","repository":{"id":92308686,"uuid":"326700008","full_name":"IvanSafonov/qt-tf-lite-example","owner":"IvanSafonov","description":"Qt TensorFlow Lite example","archived":false,"fork":false,"pushed_at":"2021-01-05T07:08:13.000Z","size":95,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T16:52:01.851Z","etag":null,"topics":["qt","qt5","tensorflow","tensorflow-examples","tensorflow-lite"],"latest_commit_sha":null,"homepage":"","language":"C++","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/IvanSafonov.png","metadata":{"files":{"readme":"README.md","changelog":null,"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-01-04T13:54:26.000Z","updated_at":"2024-07-14T12:47:47.000Z","dependencies_parsed_at":"2023-04-17T18:05:33.363Z","dependency_job_id":null,"html_url":"https://github.com/IvanSafonov/qt-tf-lite-example","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"fe25e1188ab97a4fd0efa51af9aad499506f2f02"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IvanSafonov%2Fqt-tf-lite-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IvanSafonov%2Fqt-tf-lite-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IvanSafonov%2Fqt-tf-lite-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IvanSafonov%2Fqt-tf-lite-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IvanSafonov","download_url":"https://codeload.github.com/IvanSafonov/qt-tf-lite-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247694893,"owners_count":20980731,"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":["qt","qt5","tensorflow","tensorflow-examples","tensorflow-lite"],"created_at":"2024-09-24T13:18:47.573Z","updated_at":"2026-02-02T15:12:16.644Z","avatar_url":"https://github.com/IvanSafonov.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Qt TensorFlow Lite example\n\nA simple example that shows how to use TensorFlow Lite with Qt. That's a modified version of the [label_image example](https://github.com/tensorflow/tensorflow/tree/master/tensorflow/lite/examples/label_image).\n\nTested on Ubuntu 20.04.\n\n# How to build\n\n* Install [Visual Studio Code](https://code.visualstudio.com/) with [Remote Containers](https://code.visualstudio.com/docs/remote/containers-tutorial) extension\n* Clone this project and open in Visual Studio Code\n   ```bash\n   git clone https://github.com/IvanSafonov/qt-tf-lite-example.git\n   code ./qt-tf-lite-example\n   ```\n* In the Command Palette find and click **Remote-Containers: Reopen in Container**\n* In the Command Palette find and click **CMake: Build**\n\n# Launch example\n\nThe result executable file can be found in the build subdirectory.\n\n```bash\nvscode ➜ /workspaces/qt-tf-lite-example $ ./build/qt-tf-lite-example -h\nUsage: ./build/qt-tf-lite-example [options] images\nQt TensorFlow Lite example\n\nOptions:\n  -h, --help             Displays this help.\n  -m, --model \u003cmodel\u003e    TFLite model\n  -l, --labels \u003clabels\u003e  Model labels file\n\nArguments:\n  images                 Input images for classification\n```\n\n```bash\nvscode ➜ /workspaces/qt-tf-lite-example $ ./build/qt-tf-lite-example ./grace_hopper.jpg\nINFO: Initialized TensorFlow Lite runtime.\n\"./grace_hopper.jpg\"\n0.784314 653 \"military uniform\"\n0.105882 907 \"Windsor tie\"\n0.0156863 458 \"bow tie\"\n0.0117647 466 \"bulletproof vest\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivansafonov%2Fqt-tf-lite-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fivansafonov%2Fqt-tf-lite-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivansafonov%2Fqt-tf-lite-example/lists"}