You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-3Lines changed: 12 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ This package is maintained by [Techainer](https://techainer.com)
9
9
10
10
## Install
11
11
To install this package, make sure you have the following dependencies installed:
12
-
- NodeJS 14.x.x
12
+
- NodeJS 12+
13
13
- cmake 3.9+
14
14
- OpenCV 3.x.x (Build from source recommened)
15
15
- Eigen 3.x.x (`sudo apt-get install -y libeigen3-dev`)
@@ -19,6 +19,8 @@ Noted that we have provide a `Dockerfile` contain all 3rd dependencies. To use i
19
19
docker build -t sort .
20
20
./docker_run.sh
21
21
```
22
+
Or you can reference our github actions [CI](.github/workflows/ci.yml) flow to install dependencies for your own OS.
23
+
22
24
Then you can install the package from npm:
23
25
24
26
```bash
@@ -35,9 +37,16 @@ The `SortNode` object can be initialize with 2 arguments:
35
37
36
38
With each frame, you will need to call `update` method.
37
39
38
-
This method except a single arguments that had a the format `List[List[float]]`, which means a list of detected object in that frame. Each object will have the format: `[x_top, y_top, width, height, confidence]`.
40
+
This method except a single arguments that had a the format `List[List[float]]`, which means a list of detected object in that frame. Each object will have the format: `[x_top, y_top, width, height, confidence]` or `[x_top, y_top, width, height, confidence, landmark_x1, landmark_y1, ...]` for addtional landmark associated with each bounding box
39
41
40
-
The `update` method will return a list of tracked object in the format `[List[List[int]]`, each object will have the format: `[x_top, y_top, width, height, track_id]`
42
+
The `update` method will return a list of tracked object in the format `[List[Object]]`, each object will have the following structure:
0 commit comments