Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Object re-identification with deep learning and trajectories filtering #84

Open
2 tasks done
AmitNativ1984 opened this issue Mar 15, 2022 · 3 comments
Open
2 tasks done
Labels
feature_request New feature or request

Comments

@AmitNativ1984
Copy link

Preliminary Checks

  • This issue is not a duplicate. Before opening a new issue, please search existing issues.
  • This issue is not a question, bug report, or anything other than a feature request directly related to this project.

Proposal

New 3.7 SDK gives the option to enable objects re-identification by setting BatchParameters::enable and provides control over:
id_retention_time, and latency.

Even though enable tracking is referenced in zed_camera_components.cpp,

getParam("object_detection.object_tracking_enabled", mObjDetTracking,

sl::ObjectDetectionParameters od_p;
od_p.enable_mask_output = false;
od_p.enable_tracking = mObjDetTracking;
od_p.image_sync = true;
od_p.detection_model = mObjDetModel;
od_p.filtering_mode = mObjFilterMode;
od_p.enable_body_fitting = mObjDetBodyFitting;
od_p.body_format = mObjDetBodyFmt;

it is not provided in the launch file:

object_detection:
        od_enabled:                 false           # True to enable Object Detection [only ZED 2]
        confidence_threshold:       50.0            # [DYNAMIC] - Minimum value of the detection confidence of an object [0,100]
        model:                      0               # '0': MULTI_CLASS_BOX - '1': MULTI_CLASS_BOX_ACCURATE - '2': HUMAN_BODY_FAST - '3': HUMAN_BODY_ACCURATE - '4': MULTI_CLASS_BOX_MEDIUM - '5': HUMAN_BODY_MEDIUM - '6': PERSON_HEAD_BOX 
        filtering_mode:             1               # '0': NONE - '1': NMS3D - '2': NMS3D_PER_CLASS
        mc_people:                  true            # [DYNAMIC] - Enable/disable the detection of persons for 'MULTI_CLASS_X' models
        mc_vehicle:                 true            # [DYNAMIC] - Enable/disable the detection of vehicles for 'MULTI_CLASS_X' models
        mc_bag:                     true            # [DYNAMIC] - Enable/disable the detection of bags for 'MULTI_CLASS_X' models
        mc_animal:                  true            # [DYNAMIC] - Enable/disable the detection of animals for 'MULTI_CLASS_X' models
        mc_electronics:             true            # [DYNAMIC] - Enable/disable the detection of electronic devices for 'MULTI_CLASS_X' models
        mc_fruit_vegetable:         true            # [DYNAMIC] - Enable/disable the detection of fruits and vegetables for 'MULTI_CLASS_X' models
        mc_sport:                   true            # [DYNAMIC] - Enable/disable the detection of sport-related objects for 'MULTI_CLASS_X' models
        body_fitting:               true           # Enable/disable body fitting for 'HUMAN_BODY_FAST' and 'HUMAN_BODY_ACCURATE' models
        body_format:                1               # '0': POSE_18 - '1': POSE_34 [Only if `HUMAN_BODY_*` model is selected]
        qos_history:                1               # '1': KEEP_LAST - '2': KEEP_ALL
        qos_depth:                  1               # Queue size if using KEEP_LAST
        qos_reliability:            1               # '1': RELIABLE - '2': BEST_EFFORT
        qos_durability:             2               # '1': TRANSIENT_LOCAL - '2': VOLATILE

Use-Case

object tracking with re-identification

Anything else?

No response

@AmitNativ1984 AmitNativ1984 added the feature_request New feature or request label Mar 15, 2022
@Myzhar
Copy link
Member

Myzhar commented Mar 15, 2022

The re-identification is not yet available in the ROS2 wrapper.
It will be added soon.

@AmitNativ1984
Copy link
Author

Thanks!

@shruthiR-fauna
Copy link

Curious if support for this has been added for this in the ROS2 wrapper yet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature_request New feature or request
Development

No branches or pull requests

3 participants