{"id":13670613,"url":"https://github.com/cloud-annotations/object-tracking-js","last_synced_at":"2025-04-09T13:09:53.461Z","repository":{"id":39873763,"uuid":"210947899","full_name":"cloud-annotations/object-tracking-js","owner":"cloud-annotations","description":"Track an object as it moves in a video with no training","archived":false,"fork":false,"pushed_at":"2022-02-12T21:57:16.000Z","size":13070,"stargazers_count":192,"open_issues_count":24,"forks_count":41,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-02T08:48:54.569Z","etag":null,"topics":["mosse","tensorflow","tracking"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/cloud-annotations.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}},"created_at":"2019-09-25T21:59:18.000Z","updated_at":"2025-03-04T02:49:32.000Z","dependencies_parsed_at":"2022-08-26T03:00:47.392Z","dependency_job_id":null,"html_url":"https://github.com/cloud-annotations/object-tracking-js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-annotations%2Fobject-tracking-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-annotations%2Fobject-tracking-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-annotations%2Fobject-tracking-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-annotations%2Fobject-tracking-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloud-annotations","download_url":"https://codeload.github.com/cloud-annotations/object-tracking-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248045245,"owners_count":21038554,"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":["mosse","tensorflow","tracking"],"created_at":"2024-08-02T09:00:46.253Z","updated_at":"2025-04-09T13:09:53.444Z","avatar_url":"https://github.com/cloud-annotations.png","language":"JavaScript","readme":"# Object Tracking JavaScript SDK\n[![NPM Version](https://img.shields.io/npm/v/@cloud-annotations/object-tracking.svg)](https://npmjs.org/package/@cloud-annotations/object-tracking)\n[![NPM Downloads](https://img.shields.io/npm/dm/@cloud-annotations/object-tracking.svg)](https://npmjs.org/package/@cloud-annotations/object-tracking)\n\n![Demo](object-track.gif)\n\n[![Edit cranky-keller-cp4ms](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/cranky-keller-cp4ms?fontsize=14\u0026hidenavigation=1\u0026theme=dark)\n\n### Simple object tracking with TensorFlow.js.\n\nJust draw a box and track it as it moves across the video, no training required.\n\n## Installation\n```bash\nnpm install @cloud-annotations/object-tracking\n```\n\n## Usage\n```js\nimport objectTracker from '@cloud-annotations/object-tracking'\n\nconst frame1 = document.getElementById('img1')\nconst frame2 = document.getElementById('img2')\nconst frame3 = document.getElementById('img3')\n//    ...\nconst frameN = document.getElementById('imgN')\n\nconst tracker = objectTracker.init(frame1, [x, y, width, height])\nconst box2 = await tracker.next(frame2)\nconst box3 = await tracker.next(frame3)\n//    ...\nconst boxN = await tracker.next(frameN)\n\n// box =\u003e\n[x, y, width, height]\n```\n\n## Usage via Script Tag\n```html\n\u003cscript src=\"https://cdn.jsdelivr.net/npm/@cloud-annotations/object-tracking\"\u003e\u003c/script\u003e\n```\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloud-annotations%2Fobject-tracking-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloud-annotations%2Fobject-tracking-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloud-annotations%2Fobject-tracking-js/lists"}