Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • L livepose-blender-addon
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • sat-metalabsat-metalab
  • tools
  • livepose-blender-addon
  • Merge requests
  • !9

Add/Calibration configuration panel

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Eliès Jurquet requested to merge add/calibration_configuration_panel into main Jun 30, 2022
  • Overview 0
  • Commits 9
  • Pipelines 7
  • Changes 9

Following suggestion !7 (comment 969769691)

Description


The user is now able to set camera's resolution dimensions in real-time, thanks to the "calibration configuration" panel.
These values as well as the 3D avatar models dimensions are used in the processing of new coordinates into the Blender world space.
Indeed, the coordinates outputted by LivePose are not in the same space and should be calibrated to fit Blender's space of coordinates.

Changelog


  • tweak

    • utils/libmapper.py -> removed non-used imports.
    • utils/install_dependencies.py -> removed global declaration of dependencies_installed.
    • ui/ui_dependencies -> minor presentation changes.
  • update

    • utils/livePoseWrapper.py -> defined new distance constraints setting methods.
    • utils/maths.py -> use calibration config.
    • utils/objects.py -> functions modifications.
    • ui/ui_panels.py -> added calibration config panel.
      • Useful to modify camera's resolution values used to process coordinates in the Blender's world space with get_kp_world_location.
      • Avatar's 3D mesh dimensions are get through bpy.data.objects.
      • Avatar model dimension are updated when picking the avatar.
      • Added a yet non-used but functional DepthServerThread processing depth location.
    • requirements.txt -> added dependencies versions.
    • imports.py -> minor refactoring.

Reliability and efficiency review


  • Really depends on the network connection quality.
  • Make sure that the frame is clear + captures the whole body.
  • Still encountering memory heap issues.
    • Occasionally causes crashes when recording animations.
    • Causes moves jittering after a while.
    • Seems to block or slow down thread closing, when stopping capture.
Edited Jul 07, 2022 by Eliès Jurquet
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: add/calibration_configuration_panel