{"id":15324464,"url":"https://github.com/shadowhijackers/object-detector-in-js","last_synced_at":"2026-03-04T11:31:31.517Z","repository":{"id":100475251,"uuid":"298867314","full_name":"shadowhijackers/object-detector-in-js","owner":"shadowhijackers","description":"Object detector while uploading in javascript using ml5js and mobilenet.","archived":false,"fork":false,"pushed_at":"2020-09-26T17:52:46.000Z","size":696,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-27T07:16:50.802Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/shadowhijackers.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":"2020-09-26T17:39:50.000Z","updated_at":"2020-09-26T17:52:49.000Z","dependencies_parsed_at":"2023-05-15T01:45:14.619Z","dependency_job_id":null,"html_url":"https://github.com/shadowhijackers/object-detector-in-js","commit_stats":{"total_commits":4,"total_committers":2,"mean_commits":2.0,"dds":0.25,"last_synced_commit":"ac0054a592aa1f42934ee8993086c688ccf67145"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shadowhijackers/object-detector-in-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowhijackers%2Fobject-detector-in-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowhijackers%2Fobject-detector-in-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowhijackers%2Fobject-detector-in-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowhijackers%2Fobject-detector-in-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shadowhijackers","download_url":"https://codeload.github.com/shadowhijackers/object-detector-in-js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowhijackers%2Fobject-detector-in-js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30078984,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T08:01:56.766Z","status":"ssl_error","status_checked_at":"2026-03-04T08:00:42.919Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-10-01T09:26:54.809Z","updated_at":"2026-03-04T11:31:31.492Z","avatar_url":"https://github.com/shadowhijackers.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# object-detector-in-js\nObject detector while uploading in javascript using ml5js and mobilenet.\n\n# Code Explantion\nWe are loading the ml5.js library source code in our index. html file for access to the ml5js APIs (machine learning functionalities.\n\nLoad your image classification model by using the  “ml5.imageClassifier('MobileNet', modelLoaded);”  modelLoaded is the function definition which is used to know whether the model was loaded or not. Here we use 'MobileNet’. This is the pretrained model. That is able to categories or detect the 1000 of objects. If you want to detect new one you need to create your \nOwn model.\n\nThe following link for mobilenet image categories.\n https://github.com/tensorflow/tfjs-models/blob/master/mobilenet/src/imagenet_classes.ts\n\nBind the detectImage function to upload file input onchange events. So When the image was uploaded the detectImage function will call and there our classify method will detect the image.\n\nAfter it will call our getResult function then we can get the detected image result.\n\n\n![ScreenShot](screenshots.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshadowhijackers%2Fobject-detector-in-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshadowhijackers%2Fobject-detector-in-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshadowhijackers%2Fobject-detector-in-js/lists"}