• Stars
    star
    187
  • Rank 206,464 (Top 5 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created about 5 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Track an object as it moves in a video with no training

Object Tracking JavaScript SDK

NPM Version NPM Downloads

Demo

Edit cranky-keller-cp4ms

Simple object tracking with TensorFlow.js.

Just draw a box and track it as it moves across the video, no training required.

Installation

npm install @cloud-annotations/object-tracking

Usage

import objectTracker from '@cloud-annotations/object-tracking'

const frame1 = document.getElementById('img1')
const frame2 = document.getElementById('img2')
const frame3 = document.getElementById('img3')
//    ...
const frameN = document.getElementById('imgN')

const tracker = objectTracker.init(frame1, [x, y, width, height])
const box2 = await tracker.next(frame2)
const box3 = await tracker.next(frame3)
//    ...
const boxN = await tracker.next(frameN)

// box =>
[x, y, width, height]

Usage via Script Tag

<script src="https://cdn.jsdelivr.net/npm/@cloud-annotations/object-tracking"></script>

More Repositories

1

cloud-annotations

🐝 A fast, easy and collaborative open source image annotation tool for teams and individuals.
TypeScript
2,677
star
2

docusaurus-openapi

🦕 OpenAPI plugin for generating API reference docs in Docusaurus v2.
TypeScript
493
star
3

object-detection-react

⚛️ Real-Time Custom Object Detection with TensorFlow.js
JavaScript
254
star
4

object-detection-ios

📱 Real-Time Custom Object Detection with Core ML
Swift
54
star
5

iris

Source for the Cloud Annotations tool
JavaScript
44
star
6

object-detection-android

📱 Custom Object Detection with TensorFlow Lite (not Real-Time)
Java
37
star
7

javascript-sdk

Use custom trained Cloud Annotations models with TensorFlow.js
TypeScript
24
star
8

object-detection-live-stream

🔴 Real-Time Object Detection on a Livestream with TensorFlow.js
HTML
15
star
9

object-detection-python

🐍 Run Object Detection Inferences in Python
12
star
10

custom-training

👷‍♀️ Build and train your own model
Python
11
star
11

classification-react

CSS
11
star
12

classification-ios

📱 Run Classification Inferences in iOS
Swift
8
star
13

classification-android

📱 Run Classification Inferences in Android
Java
7
star
14

google-colab-training

A notebook for training an object detection model
Jupyter Notebook
5
star
15

raspberrypi-streaming-object-detection

JavaScript
5
star
16

classification-python

🐍 Run Classification Inferences in Python
2
star
17

node-red-contrib-cloud-annotations

Node-RED nodes for making predictions with Cloud Annotations models
HTML
2
star
18

workshop-template

A template for a GitHub pages workshop stepper UI
CSS
2
star
19

ip-camera-object-detection

HTML
1
star
20

standalone-video-react

A react app ready for standalone videos with tensorflow.js models
JavaScript
1
star
21

elyra

Jupyter Notebook
1
star
22

hooks-test

1
star
23

node-red-contrib-cloud-annotations-gpu

HTML
1
star
24

elyra-classification-training

Jupyter Notebook
1
star