{"id":13601061,"url":"https://github.com/tinrab/go-tensorflow-image-recognition","last_synced_at":"2025-08-13T06:13:20.572Z","repository":{"id":94380057,"uuid":"106652002","full_name":"tinrab/go-tensorflow-image-recognition","owner":"tinrab","description":"Image Recognition API in Go using TensorFlow","archived":false,"fork":false,"pushed_at":"2019-08-24T12:12:15.000Z","size":93,"stargazers_count":250,"open_issues_count":4,"forks_count":76,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-09T23:34:38.596Z","etag":null,"topics":["api","docker","golang","tensorflow"],"latest_commit_sha":null,"homepage":"","language":"Go","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/tinrab.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}},"created_at":"2017-10-12T06:12:38.000Z","updated_at":"2025-03-19T10:50:32.000Z","dependencies_parsed_at":"2023-03-05T08:15:23.448Z","dependency_job_id":null,"html_url":"https://github.com/tinrab/go-tensorflow-image-recognition","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tinrab/go-tensorflow-image-recognition","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinrab%2Fgo-tensorflow-image-recognition","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinrab%2Fgo-tensorflow-image-recognition/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinrab%2Fgo-tensorflow-image-recognition/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinrab%2Fgo-tensorflow-image-recognition/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tinrab","download_url":"https://codeload.github.com/tinrab/go-tensorflow-image-recognition/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinrab%2Fgo-tensorflow-image-recognition/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270191647,"owners_count":24542279,"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","status":"online","status_checked_at":"2025-08-13T02:00:09.904Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["api","docker","golang","tensorflow"],"created_at":"2024-08-01T18:00:54.438Z","updated_at":"2025-08-13T06:13:20.513Z","avatar_url":"https://github.com/tinrab.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# Image Recognition API in Go using TensorFlow\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./cover.jpg\"/\u003e\n\u003c/p\u003e\n\nThis is the underlying code for article [Build an Image Recognition API with Go and TensorFlow](https://outcrawl.com/image-recognition-api-go-tensorflow).\n\n## Running the service\n\nBuild the image.\n\n```\n$ docker build -t localhost/recognition .\n```\n\nRun service in a container.\n\n```\n$ docker run -p 8080:8080 --rm localhost/recognition\n```\n\nCall the service.\n\n```\n$ curl localhost:8080/recognize -F 'image=@./cat.jpg'\n{\n  \"filename\": \"cat.jpg\",\n  \"labels\": [\n    { \"label\": \"tabby\", \"probability\": 0.45087516 },\n    { \"label\": \"Egyptian cat\", \"probability\": 0.26096493 },\n    { \"label\": \"tiger cat\", \"probability\": 0.23208225 },\n    { \"label\": \"lynx\", \"probability\": 0.050698064 },\n    { \"label\": \"grey fox\", \"probability\": 0.0019019963 }\n  ]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinrab%2Fgo-tensorflow-image-recognition","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftinrab%2Fgo-tensorflow-image-recognition","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinrab%2Fgo-tensorflow-image-recognition/lists"}