Skip to content

Feat: Reset idDisplay and configurable fast delete#18

Closed
vsaw wants to merge 5 commits intoopendatacam:masterfrom
vsaw:feat-configurable-fast-delete
Closed

Feat: Reset idDisplay and configurable fast delete#18
vsaw wants to merge 5 commits intoopendatacam:masterfrom
vsaw:feat-configurable-fast-delete

Conversation

@vsaw
Copy link
Copy Markdown
Collaborator

@vsaw vsaw commented Aug 10, 2020

Reset idDisplay

Resetting the tracker did not affect the item ID. Therefore multiple tests runs on the same file were difficult to evaluate as one had to offset the later runs to get the actual number of the items tracked.

This pull request fixes this. As it introduces a new reset function for ItemsTracked.

To prove it is working, jasmine tests with GitHub Actions are included. As GitHub does not run the checks in the opendatacam repository see the passing checks in my fork here: https://github.com/vsaw/node-moving-things-tracker/actions/runs/202256302

Configurable Fast Delete

This allows to configure if detections should be removed
quickly in cases where they were detected and could not
be matched afterwards.

Fast deletion can be enabled/disabled via

Tracker.setParams({ items: { fastDelete: false } });

Again passing tests can be see here https://github.com/vsaw/node-moving-things-tracker/pull/2/checks

vsaw and others added 4 commits August 10, 2020 10:57
Resetting the tracker now also resets the ID if tracked items.
This allows to configure if detections should be removed
quickly in cases where they were detected and could not
be matched afterwards.

Fast deletion can be enabled/disabled via

```
Tracker.setParams({ items: { fastDelete: false } });
```
@vsaw vsaw mentioned this pull request Aug 10, 2020
Allows to change fast detele for each item individually (e.g.
based on confidence).
@vsaw
Copy link
Copy Markdown
Collaborator Author

vsaw commented Aug 11, 2020

Obsolete. new Pull request #19

@vsaw vsaw closed this Aug 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant