{"id":23080636,"url":"https://github.com/chen0040/java-ssd-object-detection","last_synced_at":"2025-08-15T22:31:12.139Z","repository":{"id":85884488,"uuid":"127535547","full_name":"chen0040/java-ssd-object-detection","owner":"chen0040","description":"Image SSD object detection in Java using Tensorrflow","archived":false,"fork":false,"pushed_at":"2018-04-15T13:47:34.000Z","size":91663,"stargazers_count":26,"open_issues_count":3,"forks_count":8,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-13T05:18:47.671Z","etag":null,"topics":["non-maximum-suppression","object-detection","single-shot-multibox-detector","ssd","tensorflow","yolo"],"latest_commit_sha":null,"homepage":null,"language":"Java","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/chen0040.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":"2018-03-31T13:42:47.000Z","updated_at":"2025-07-10T19:36:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"b9eb1be2-9807-4341-b779-c0087740825e","html_url":"https://github.com/chen0040/java-ssd-object-detection","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chen0040/java-ssd-object-detection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chen0040%2Fjava-ssd-object-detection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chen0040%2Fjava-ssd-object-detection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chen0040%2Fjava-ssd-object-detection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chen0040%2Fjava-ssd-object-detection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chen0040","download_url":"https://codeload.github.com/chen0040/java-ssd-object-detection/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chen0040%2Fjava-ssd-object-detection/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270637924,"owners_count":24620430,"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-15T02:00:12.559Z","response_time":110,"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":["non-maximum-suppression","object-detection","single-shot-multibox-detector","ssd","tensorflow","yolo"],"created_at":"2024-12-16T13:15:53.982Z","updated_at":"2025-08-15T22:31:07.695Z","avatar_url":"https://github.com/chen0040.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# java-ssd-object-detection\n\nImage SSD object detection in pure Java using Tensorrflow\n\nThis project is a derivation from the tensorflow [object detection](https://github.com/tensorflow/models/tree/master/samples/languages/java/object_detection)\ncodes but makes it easy to integrate with other java application\n\n# Install\n\nTo install, add the following dependency to your POM file:\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.github.chen0040\u003c/groupId\u003e\n  \u003cartifactId\u003ejava-ssd-object-detection\u003c/artifactId\u003e\n  \u003cversion\u003e1.0.1\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n\n\n# Usage\n\nThe [sample codes](src/main/java/com/github/chen0040/objdetect/ObjectDetectorDemo.java) below shows how to detect \nobjects in an image using the [ObjectDetector](src/main/java/com/github/chen0040/objdetect/ObjectDetector.java) \nclass:\n\n```java\nimport com.github.chen0040.objdetect.models.DetectedObj;\n\nimport javax.imageio.ImageIO;\nimport java.awt.image.BufferedImage;\nimport java.io.File;\nimport java.util.List;\n\npublic class ObjectDetectorDemo {\n    public static void main(String[] args) throws Exception {\n        ObjectDetector detector = new ObjectDetector();\n\n        detector.loadModel();\n\n        BufferedImage img = ImageIO.read(new File(\"images/test.jpg\"));\n\n        List\u003cDetectedObj\u003e result = detector.detectObjects(img);\n\n        System.out.println(\"There are \" + result.size() + \" objects detected\");\n        for(int i=0; i \u003c result.size(); ++i){\n            System.out.println(\"# \" + (i + 1) + \": \" + result.get(i));\n        }\n        \n        BufferedImage img2 = detector.drawDetectedObjects(img);\n        ImageIO.write(img2, \"PNG\", new File(\"images/test_output.png\"));\n    }\n}\n``` \n\nBelow shows the result of the test_output.png generated:\n\n![test_output.png](images/test_output.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchen0040%2Fjava-ssd-object-detection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchen0040%2Fjava-ssd-object-detection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchen0040%2Fjava-ssd-object-detection/lists"}