Skip to content

PersonKeypointReconstruction: adding new method with relaxed limb con… - #143

Closed
divyajoshi11 wants to merge 1 commit into
mainfrom
implicit_trajectory_testing
Closed

divyajoshi11 wants to merge 1 commit into
mainfrom
implicit_trajectory_testing

Conversation

@divyajoshi11

Copy link
Copy Markdown
Collaborator

Added new PersonKeypointReconstructionMethod with relaxed limb constraint

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new PersonKeypointReconstructionMethod option that runs implicit trajectory optimization with a lower skeleton (limb-length consistency) weight, enabling a more relaxed limb constraint configuration within the existing DataJoint reconstruction pipeline.

Changes:

  • Added a new lookup entry (reconstruction_method=13) for the relaxed-limb configuration.
  • Added a corresponding elif branch in PersonKeypointReconstruction.make() that calls optimize_trajectory(..., skeleton_weight=0.05, huber_max=10, robust_camera_weights=False).
Suppressed comments (1)

multi_camera/datajoint/multi_camera_dj.py:291

  • This branch relies on exact string matching against reconstruction_method_name. To keep it consistent with the Lookup entry (and with the existing naming style using ", "), update the string here to match the normalized name.
        elif reconstruction_method_name == "ImplicitOptKPConf,MaxHuber=10,skel_weight=0.05":

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

{"reconstruction_method": 10, "reconstruction_method_name": r"Implicit Optimization $\\gamma=0.3$"},
{"reconstruction_method": 11, "reconstruction_method_name": "Implicit Optimization, MaxHuber=10"},
{"reconstruction_method": 12, "reconstruction_method_name": r"Implicit Optimization $\\sigma=50$"},
{"reconstruction_method": 13, "reconstruction_method_name": "ImplicitOptKPConf,MaxHuber=10,skel_weight=0.05"},
@ktshah04

Copy link
Copy Markdown
Collaborator

Deleting branch since this method is not used anymore

@ktshah04 ktshah04 closed this Aug 14, 2026
@ktshah04
ktshah04 deleted the implicit_trajectory_testing branch August 14, 2026 18:54
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.

3 participants