forked from openvinotoolkit/open_model_zoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request openvinotoolkit#605 from DmitriySidnev/ds/update_mcmt
Update multi camera multi person tracker
- Loading branch information
Showing
18 changed files
with
1,922 additions
and
299 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,58 @@ | ||
absl-py==0.9.0 # via tensorboard | ||
attrs==19.3.0 # via pytest | ||
cachetools==4.0.0 # via google-auth | ||
certifi==2019.11.28 # via requests | ||
chardet==3.0.4 # via requests | ||
cycler==0.10.0 # via matplotlib | ||
entrypoints==0.3 # via flake8 | ||
flake8-import-order==0.18.1 # via motmetrics | ||
flake8==3.7.9 # via motmetrics | ||
google-auth-oauthlib==0.4.1 # via tensorboard | ||
google-auth==1.11.3 # via google-auth-oauthlib, tensorboard | ||
grpcio==1.27.2 # via tensorboard | ||
idna==2.9 # via requests | ||
importlib-metadata==1.5.0 # via pluggy, pytest | ||
joblib==0.14.1 # via scikit-learn | ||
nibabel==3.0.1 | ||
kiwisolver==1.1.0 # via matplotlib | ||
markdown==3.2.1 # via tensorboard | ||
matplotlib==3.0.3 | ||
mccabe==0.6.1 # via flake8 | ||
more-itertools==8.2.0 # via pytest | ||
motmetrics==1.2.0 | ||
nibabel==3.0.2 | ||
numpy==1.18.1 ; python_version >= "3.4" | ||
scikit-learn==0.22.1 | ||
oauthlib==3.1.0 # via requests-oauthlib | ||
packaging==20.3 # via pytest | ||
pandas==0.24.2 # via motmetrics | ||
pathlib2==2.3.5 # via pytest | ||
pluggy==0.13.1 # via pytest | ||
protobuf==3.11.3 # via tensorboard, tensorboardx | ||
py-cpuinfo==5.0.0 # via pytest-benchmark | ||
py==1.8.1 # via pytest | ||
pyasn1-modules==0.2.8 # via google-auth | ||
pyasn1==0.4.8 # via pyasn1-modules, rsa | ||
pycodestyle==2.5.0 # via flake8, flake8-import-order | ||
pyflakes==2.1.1 # via flake8 | ||
pyparsing==2.4.6 # via matplotlib, packaging | ||
pytest-benchmark==3.2.3 # via motmetrics | ||
pytest==5.4.1 # via motmetrics, pytest-benchmark | ||
python-dateutil==2.8.1 # via matplotlib, pandas | ||
pytz==2019.3 # via pandas | ||
requests-oauthlib==1.3.0 # via google-auth-oauthlib | ||
requests==2.23.0 # via requests-oauthlib, tensorboard | ||
rsa==4.0 # via google-auth | ||
scikit-learn==0.22.2.post1 | ||
scipy==1.4.1 | ||
tqdm==4.42.0 | ||
six==1.14.0 # via absl-py, cycler, google-auth, grpcio, packaging, pathlib2, protobuf, python-dateutil, tensorboard, tensorboardx | ||
tensorboard==2.1.1 | ||
tensorboardx==2.0 | ||
tqdm==4.43.0 | ||
urllib3==1.25.8 # via requests | ||
wcwidth==0.1.8 # via pytest | ||
werkzeug==1.0.0 # via tensorboard | ||
wheel==0.34.2 # via tensorboard | ||
xmltodict==0.12.0 # via motmetrics | ||
zipp==1.2.0 # via importlib-metadata | ||
|
||
# The following packages are considered to be unsafe in a requirements file: | ||
# setuptools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 41 additions & 8 deletions
49
demos/python_demos/multi_camera_multi_person_tracking/config.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,51 @@ | ||
# This config is tuned for the bundle of person-detection-retail-xxx and person-reidentification-retail-xxx | ||
# models, but should be suitable for other well-trained detector and reid models | ||
# Alse all tracking update intervals are set assumin input frequency about 30FPS | ||
random_seed = 100 | ||
|
||
time_window = 20 | ||
global_match_thresh = 0.35 | ||
mct_config = dict( | ||
time_window=20, | ||
global_match_thresh=0.2, | ||
bbox_min_aspect_ratio=1.2 | ||
) | ||
|
||
sct_config = dict( | ||
time_window=10, | ||
continue_time_thresh=2, | ||
track_clear_thresh=3000, | ||
match_threshold=0.475, | ||
merge_thresh=0.3, | ||
match_threshold=0.25, | ||
merge_thresh=0.15, | ||
n_clusters=4, | ||
max_bbox_velocity=0.2, | ||
detection_occlusion_thresh=0.7, | ||
track_detection_iou_thresh=0.5 | ||
track_detection_iou_thresh=0.5, | ||
process_curr_features_number=0, | ||
interpolate_time_thresh=10, | ||
detection_filter_speed=0.6, | ||
rectify_thresh=0.1 | ||
) | ||
|
||
normalizer_config = dict( | ||
enabled=False, | ||
clip_limit=.5, | ||
tile_size=8 | ||
) | ||
|
||
visualization_config = dict( | ||
show_all_detections=True, | ||
max_window_size=(1920, 1080), | ||
stack_frames='vertical' | ||
) | ||
|
||
analyzer = dict( | ||
enable=False, | ||
show_distances=True, | ||
save_distances='', | ||
concatenate_imgs_with_distances=True, | ||
plot_timeline_freq=0, | ||
save_timeline='', | ||
crop_size=(32, 64) | ||
) | ||
|
||
embeddings = dict( | ||
save_path='', | ||
use_images=True, # Use it with `analyzer['enable'] = True` to save crops of objects | ||
step=0 # Equal to subdirectory for `save_path` | ||
) |
Oops, something went wrong.