{"id":14959065,"url":"https://github.com/qengineering/tensorflow_lite_segmentation_jetson-nano","last_synced_at":"2025-07-20T00:33:31.063Z","repository":{"id":112948271,"uuid":"335308739","full_name":"Qengineering/TensorFlow_Lite_Segmentation_Jetson-Nano","owner":"Qengineering","description":"TensorFlow Lite segmentation on a Jetson Nano at 11 FPS","archived":false,"fork":false,"pushed_at":"2023-01-25T09:42:45.000Z","size":12068,"stargazers_count":14,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T02:21:55.142Z","etag":null,"topics":["aarch64","cpp","gpu-acceleration","gpu-delegate","jetson-nano","tensorflow-examples","tensorflow-lite","unet","unet-segmentation","unet-tensorflow"],"latest_commit_sha":null,"homepage":"https://qengineering.eu/install-tensorflow-2-lite-on-raspberry-pi-4.html","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Qengineering.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-02-02T14:05:40.000Z","updated_at":"2024-05-22T09:19:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"dc530355-16b6-4791-84e4-a4b1ea03d1bd","html_url":"https://github.com/Qengineering/TensorFlow_Lite_Segmentation_Jetson-Nano","commit_stats":{"total_commits":14,"total_committers":2,"mean_commits":7.0,"dds":0.0714285714285714,"last_synced_commit":"1c8e8ec864cc2ec84f0016bed84647db35769122"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Qengineering/TensorFlow_Lite_Segmentation_Jetson-Nano","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qengineering%2FTensorFlow_Lite_Segmentation_Jetson-Nano","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qengineering%2FTensorFlow_Lite_Segmentation_Jetson-Nano/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qengineering%2FTensorFlow_Lite_Segmentation_Jetson-Nano/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qengineering%2FTensorFlow_Lite_Segmentation_Jetson-Nano/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Qengineering","download_url":"https://codeload.github.com/Qengineering/TensorFlow_Lite_Segmentation_Jetson-Nano/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qengineering%2FTensorFlow_Lite_Segmentation_Jetson-Nano/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266048676,"owners_count":23868743,"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":["aarch64","cpp","gpu-acceleration","gpu-delegate","jetson-nano","tensorflow-examples","tensorflow-lite","unet","unet-segmentation","unet-tensorflow"],"created_at":"2024-09-24T13:18:47.340Z","updated_at":"2025-07-20T00:33:31.053Z","avatar_url":"https://github.com/Qengineering.png","language":"C++","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=CPZTM5BB3FCYL"],"categories":[],"sub_categories":[],"readme":"# TensorFlow_Lite_Segmentation_Jetson-Nano\n![output image]( https://qengineering.eu/images/Segment_Jetson.webp )\u003cbr/\u003e\n## TensorFlow Lite Unet running on a Jetson Nano\n[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)\u003cbr/\u003e\u003cbr/\u003e\nA fast C++ implementation of TensorFlow Lite Unet on a Jetson Nano.\u003cbr/\u003e\nOnce overclocked to 2015 MHz, the app runs at 11 FPS.\u003cbr/\u003e\nSpecial made for a Jetson Nano see [Q-engineering deep learning examples](https://qengineering.eu/deep-learning-examples-on-raspberry-32-64-os.html) \u003cbr/\u003e\n\n------------\n\nPapers: https://arxiv.org/abs/1606.00915 \u003cbr/\u003e\nTraining set: VOC2017 \u003cbr/\u003e\nSize: 257x257 \u003cbr/\u003e\n\n------------\n\n## Benchmark.\n| CPU 2015 MHz | GPU 2015 MHz | CPU 1479 MHz | GPU 1479 MHZ | RPi 4 64os 1950 MHz |\n|  :------------: | :-------------: | :-------------:  | :-------------: | :-------------: |\n|  11 FPS | 9.1 FPS  | 9 FPS | 8.3 FPS  | 7.2 FPS |\n\n------------\n\n## Dependencies.\nTo run the application, you have to:\n- TensorFlow Lite framework installed. [Install TensorFlow Lite](https://qengineering.eu/install-tensorflow-2-lite-on-jetson-nano.html) \u003cbr/\u003e\n- Optional OpenCV installed. [Install OpenCV 4.5](https://qengineering.eu/install-opencv-4.5-on-jetson-nano.html) \u003cbr/\u003e\n- Code::Blocks installed. (```$ sudo apt-get install codeblocks```)\n\n------------\n\n## Installing the app.\nTo extract and run the network in Code::Blocks \u003cbr/\u003e\n$ mkdir *MyDir* \u003cbr/\u003e\n$ cd *MyDir* \u003cbr/\u003e\n$ wget https://github.com/Qengineering/TensorFlow_Lite_Segmentation_Jetson-Nano/archive/refs/heads/main.zip \u003cbr/\u003e\n$ unzip -j master.zip \u003cbr/\u003e\nRemove master.zip, LICENSE and README.md as they are no longer needed. \u003cbr/\u003e \n$ rm master.zip \u003cbr/\u003e\n$ rm README.md \u003cbr/\u003e \u003cbr/\u003e\nYour *MyDir* folder must now look like this: \u003cbr/\u003e \ncat.jpg.mp4 \u003cbr/\u003e\ndeeplabv3_257_mv_gpu.tflite \u003cbr/\u003e\nTestUnet.cpb \u003cbr/\u003e\nUnet.cpp\u003cbr/\u003e\n\n------------\n\n## Running the app.\nRun TestTensorFlow_Lite.cpb with Code::Blocks.\u003cbr/\u003e\nYou may need to adapt the specified library locations in *TestTensorFlow_Lite.cpb* to match your directory structure.\u003cbr/\u003e\u003cbr/\u003e\nWith the `#define GPU_DELEGATE` uncommented, the TensorFlow Lite will deploy GPU delegates, if you have, of course, the appropriate libraries compiled by bazel. [Install GPU delegates](https://qengineering.eu/install-tensorflow-2-lite-on-jetson-nano.html) \u003cbr/\u003e\u003cbr/\u003e\nSee the RPi 4 movie at: https://www.youtube.com/watch?v=Kh9DLMgCIIE\n\n------------\n\n[![paypal](https://qengineering.eu/images/TipJarSmall4.png)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=CPZTM5BB3FCYL) \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqengineering%2Ftensorflow_lite_segmentation_jetson-nano","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqengineering%2Ftensorflow_lite_segmentation_jetson-nano","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqengineering%2Ftensorflow_lite_segmentation_jetson-nano/lists"}