mocap-desktop-gui 2.3.1__py3-none-any.whl → 2.4.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mocap_desktop_gui/__init__.py +4 -4
- mocap_desktop_gui/axengine_1756721831_1651120261.py +246 -0
- mocap_desktop_gui/gen/__init__.py +4 -4
- mocap_desktop_gui/gen/rc_icons.py +4 -4
- mocap_desktop_gui/gen/rc_qml.py +4 -4
- mocap_desktop_gui/gen/rc_style.py +4 -4
- mocap_desktop_gui/main.py +4 -4
- mocap_desktop_gui/mc/__init__.py +4 -4
- mocap_desktop_gui/mc/bld_fbx_2_glb.py +4 -4
- mocap_desktop_gui/mc/bld_utils.py +4 -4
- mocap_desktop_gui/mc/{camera_models.py → cm_license/AccessHandler.py} +4 -4
- mocap_desktop_gui/mc/cm_license/LicenseCheck.py +18 -0
- mocap_desktop_gui/mc/cm_license/ListProductItem.py +18 -0
- mocap_desktop_gui/mc/gpu_info.py +4 -4
- mocap_desktop_gui/mc/mc_actor_profile.py +4 -4
- mocap_desktop_gui/mc/mc_actor_profile_model.py +4 -4
- mocap_desktop_gui/mc/mc_app_manager.py +4 -4
- mocap_desktop_gui/mc/mc_auth_core.py +4 -4
- mocap_desktop_gui/mc/mc_calib.py +4 -4
- mocap_desktop_gui/mc/mc_calib_data.py +18 -0
- mocap_desktop_gui/mc/mc_camera_views_model.py +4 -4
- mocap_desktop_gui/mc/mc_cloud_service.py +4 -4
- mocap_desktop_gui/mc/mc_common_paths.py +4 -4
- mocap_desktop_gui/mc/mc_context.py +4 -4
- mocap_desktop_gui/mc/mc_diagnosis.py +4 -4
- mocap_desktop_gui/mc/mc_env_vars.py +18 -0
- mocap_desktop_gui/mc/mc_error_codes.py +4 -4
- mocap_desktop_gui/mc/mc_file_util.py +4 -4
- mocap_desktop_gui/mc/mc_import_folder.py +4 -4
- mocap_desktop_gui/mc/mc_intrinsic_cam_models.py +18 -0
- mocap_desktop_gui/mc/mc_mocap_edit_session.py +18 -0
- mocap_desktop_gui/mc/mc_mocap_models.py +4 -4
- mocap_desktop_gui/mc/mc_project.py +4 -4
- mocap_desktop_gui/mc/mc_project_manager.py +4 -4
- mocap_desktop_gui/mc/mc_qml_defines.py +4 -4
- mocap_desktop_gui/mc/mc_rig.py +4 -4
- mocap_desktop_gui/mc/mc_scene_3d_service.py +4 -4
- mocap_desktop_gui/mc/mc_sync_media_player.py +4 -4
- mocap_desktop_gui/mc/mc_sync_video_decoder_service.py +4 -4
- mocap_desktop_gui/mc/mc_sync_video_paint_item.py +4 -4
- mocap_desktop_gui/mc/mc_take.py +4 -4
- mocap_desktop_gui/mc/mc_take_cloud_job.py +4 -4
- mocap_desktop_gui/mc/mc_take_cloud_job_action.py +4 -4
- mocap_desktop_gui/mc/mc_take_cloud_job_calib.py +4 -4
- mocap_desktop_gui/mc/mc_take_list_model.py +4 -4
- mocap_desktop_gui/mc/mc_take_local_job.py +4 -4
- mocap_desktop_gui/mc/mc_take_local_job_action.py +4 -4
- mocap_desktop_gui/mc/mc_take_local_job_calib.py +4 -4
- mocap_desktop_gui/mc/mc_take_local_job_service.py +4 -4
- mocap_desktop_gui/mc/mc_take_run.py +4 -4
- mocap_desktop_gui/mc/mc_take_run_common.py +4 -4
- mocap_desktop_gui/mc/mc_take_run_data_prep.py +4 -4
- mocap_desktop_gui/mc/mc_take_run_settings.py +4 -4
- mocap_desktop_gui/mc/mc_take_runs_base.py +18 -0
- mocap_desktop_gui/mc/mc_take_runs_cloud_manager.py +4 -4
- mocap_desktop_gui/mc/mc_take_runs_local_manager.py +4 -4
- mocap_desktop_gui/mc/mc_take_runs_manager.py +4 -4
- mocap_desktop_gui/mc/mc_take_settings.py +4 -4
- mocap_desktop_gui/mc/mc_take_settings_action.py +4 -4
- mocap_desktop_gui/mc/mc_take_video_model.py +4 -4
- mocap_desktop_gui/mc/mc_task_trt_engine_gen.py +4 -4
- mocap_desktop_gui/mc/mc_video.py +4 -4
- mocap_desktop_gui/mc/mc_video_file_parser.py +4 -4
- mocap_desktop_gui/mc/mc_video_manager.py +4 -4
- mocap_desktop_gui/mc/mc_video_uploader.py +4 -4
- mocap_desktop_gui/mc/mc_videos_uploader.py +4 -4
- mocap_desktop_gui/mc/mc_worker.py +4 -4
- mocap_desktop_gui/mc/qml_engine.py +4 -4
- mocap_desktop_gui/mc/rig/default/move_mo/Move_Mo.blend +0 -0
- mocap_desktop_gui/mc/rig/default/move_ve/Move_Ve.blend +0 -0
- mocap_desktop_gui/mc/rig/default/move_ve/mapping_body.csv +0 -0
- mocap_desktop_gui/mc/rig/default/move_ve/mapping_fingers.csv +0 -0
- mocap_desktop_gui/mc/rig/rig_path.py +4 -4
- mocap_desktop_gui/mc/settings/camera_models.yaml +2 -2
- mocap_desktop_gui/mc/settings/camera_models_path.py +18 -0
- mocap_desktop_gui/mc/settings/settings_action.yaml +10 -268
- mocap_desktop_gui/mc/settings/settings_action_m2.yaml +12 -196
- mocap_desktop_gui/mc/settings/settings_extrinsic.yaml +2 -147
- mocap_desktop_gui/mc/settings/settings_gen.py +18 -0
- mocap_desktop_gui/mc/settings/settings_path.py +4 -4
- mocap_desktop_gui/mc/util.py +4 -4
- mocap_desktop_gui/sample.py +4 -4
- {mocap_desktop_gui-2.3.1.dist-info → mocap_desktop_gui-2.4.2.dist-info}/METADATA +3 -1
- {mocap_desktop_gui-2.3.1.dist-info → mocap_desktop_gui-2.4.2.dist-info}/RECORD +93 -77
- move_errors/codes/engine/enums.py +7 -0
- move_errors/codes/engine/ops_animation_files_exports.py +41 -0
- move_errors/codes/engine/ops_blender_files_creation.py +41 -0
- move_errors/codes/engine/ops_blender_v2_export.py +40 -0
- move_errors/codes/engine/ops_hands_gen2.py +40 -0
- move_errors/codes/engine/ops_kalman_v2.py +40 -0
- move_errors/codes/engine/ops_online_ball_tracking.py +40 -0
- move_errors/codes/engine/ops_prep_kalman_v2.py +40 -0
- move_errors/codes/internal_services/jobs_runner.py +1 -4
- mocap_desktop_gui/axengine_1752653125_187673042.py +0 -246
- {mocap_desktop_gui-2.3.1.dist-info → mocap_desktop_gui-2.4.2.dist-info}/WHEEL +0 -0
- {mocap_desktop_gui-2.3.1.dist-info → mocap_desktop_gui-2.4.2.dist-info}/entry_points.txt +0 -0
@@ -9,8 +9,7 @@ ops:
|
|
9
9
|
OpsCorrectCalib: false
|
10
10
|
OpsMocap: true
|
11
11
|
# ball tracking
|
12
|
-
|
13
|
-
OpsDetectMarkerObjects: false
|
12
|
+
OpsOnlineBallTracking: false
|
14
13
|
OpsMarkerKalmanFilter: false
|
15
14
|
OpsMarkersToBlend: false
|
16
15
|
|
@@ -21,11 +20,10 @@ ops:
|
|
21
20
|
OpsAnimationFilesExports: true
|
22
21
|
OpsRender: true
|
23
22
|
OpsZipData: false
|
24
|
-
OpsUploadOutputs: false
|
25
23
|
|
26
24
|
failure_ops:
|
27
25
|
- OpsZipData
|
28
|
-
|
26
|
+
|
29
27
|
ops_cfg:
|
30
28
|
OpsInputVideosAudios:
|
31
29
|
is_gopro: false
|
@@ -34,161 +32,6 @@ ops_cfg:
|
|
34
32
|
outputs:
|
35
33
|
log_dir: '~/MOX_projects/log'
|
36
34
|
|
37
|
-
OpsSyncMultiviewVideos:
|
38
|
-
# auto sync settings
|
39
|
-
# set action_ss and action_to if you want to crop a specific time range in input videos.
|
40
|
-
# warning: 'ss' and 'to' must be specified on the video whose lag is smallest; otherwise, it could fail
|
41
|
-
# for the case when the lag between videos are large.
|
42
|
-
# example. action_start_time: '20.15' action_end_time: '30.35' means action stats from the seconds 20.15 to 30.35
|
43
|
-
action_start_time: 0 # start time of the action in format seconds.millisecond. ffmpeg -ss
|
44
|
-
action_end_time: "" # end time of the action in the format seconds.millisecond. ffmpeg -to
|
45
|
-
search_win: [ 2.0, 6.0 ] # clap hand time range, in seconds. If no range is specified then search_win
|
46
|
-
# is calculated automatically in the code based on clapping.
|
47
|
-
delete_input_videos: false
|
48
|
-
inputs:
|
49
|
-
video_raw_dir: '~/MOX_projects/videos'
|
50
|
-
outputs:
|
51
|
-
log_dir: '~/MOX_projects/log'
|
52
|
-
video_dir: '~/MOX_projects/videos_processed'
|
53
|
-
sync_vis_dir: '~/MOX_projects/sync_vis'
|
54
|
-
# Use iphone metadata to sync
|
55
|
-
iphone_sync:
|
56
|
-
use_host_timecode: false
|
57
|
-
use_tentacle: false
|
58
|
-
# manual sync settings
|
59
|
-
manual_sync:
|
60
|
-
active: false # set it to true if you want to run manual sync given delay in timestamp
|
61
|
-
# seconds.milliseconds. relative offset. earliest camera should have ss = 0.0
|
62
|
-
cams_lag: # ffmpeg -ss
|
63
|
-
cam01: 0.0
|
64
|
-
#cam02: 0.02
|
65
|
-
#cam03: 0.04
|
66
|
-
#....
|
67
|
-
# all cameras share the same duration and starting time
|
68
|
-
base_ss: 0.0 # seconds.milliseconds
|
69
|
-
duration: 0.0 # ffmpeg -t seconds.milliseconds. 0.0 means the whole video.
|
70
|
-
win_len_samples: 1024
|
71
|
-
win_step_sec: 0.001
|
72
|
-
use_audio_files: false
|
73
|
-
timecode: false
|
74
|
-
|
75
|
-
OpsMocap:
|
76
|
-
max_actor_number: 1
|
77
|
-
enable_vis_debug: true # expensive video debugging
|
78
|
-
vis_debug_rate_ms: 1000 # one frame every second
|
79
|
-
enable_new_track_vis_debug: true # cheap debugging that output the first frame of a new cross-view match
|
80
|
-
max_cpp_running_time_minutes: 2000
|
81
|
-
use_actor_profile_if_avail: false
|
82
|
-
use_cuda_decoder: true
|
83
|
-
use_jersey_id_prediction: false
|
84
|
-
MocapCppParams:
|
85
|
-
DebugCaptureVolumeVisDir: ''
|
86
|
-
DebugLabeledBBoxVisDir: ''
|
87
|
-
CudaGraphInference: false
|
88
|
-
|
89
|
-
YoloModelMaxBs: -1
|
90
|
-
YoloModelType: yolov5m
|
91
|
-
YoloModelFp16: true
|
92
|
-
|
93
|
-
JerseyModelName: jersey_model_7
|
94
|
-
DetectJerseyNumber: false
|
95
|
-
DetectJerseyFramePeriod: 3
|
96
|
-
|
97
|
-
PoseModelFp16: true
|
98
|
-
UseVerticalPoseAlignment: false
|
99
|
-
PoseModelMaxBs: -1
|
100
|
-
Single2DPoseModelName: pose_2D_vit_large_moveai29
|
101
|
-
use_temporal_2D_pose_refinement: false
|
102
|
-
Temporal2DPoseModelName: pose_2D_refine_3
|
103
|
-
UseTemporalRefinementPostProcess: false
|
104
|
-
TemporalRefinementPostProcessQueueSize: 4
|
105
|
-
|
106
|
-
NewTrackRequireHandOverShoulder: false
|
107
|
-
|
108
|
-
NewTrackCheckInsideCaptureVolume: true
|
109
|
-
NewTrackMinCaptureVolumeEdgeDist: 0.0
|
110
|
-
NewTrackMinReprojectionError: 0.15
|
111
|
-
NewTrackMinMultiviewKeypoints: 3
|
112
|
-
NewTrackMinCameraNumbers: 3
|
113
|
-
NewTrackMinDistanceFromOthers: 0.25
|
114
|
-
|
115
|
-
ActorProfileMatchMaxTimestampDifference: 1000
|
116
|
-
ActorProfileMatchMinIoU: 0.25
|
117
|
-
ActorProfileMatchMinValidObsCount: 1
|
118
|
-
|
119
|
-
NumMaxPeople: 1
|
120
|
-
DebugNumMaxActors: -1
|
121
|
-
NumMaxBoundingBoxPerFrameFactor: 4
|
122
|
-
|
123
|
-
TrackingBBOX_LPF_Parameter: 0.1
|
124
|
-
PoseTorsoDir_LPF_Parameter: 0.1
|
125
|
-
PoseKpts_LPF_Parameter: 0.1
|
126
|
-
BBOXVerticalScalingFactor: 1.0
|
127
|
-
BBOXHorizontalScalingFactor: 1.0
|
128
|
-
|
129
|
-
ExportSpineHeatmap: false
|
130
|
-
|
131
|
-
Clamp2DBBoxSizeChange: true
|
132
|
-
MaxBBSizeChangePercentage: 0.1
|
133
|
-
|
134
|
-
TrackFilterTopKBest2DPoses: 4
|
135
|
-
FilterBadObjectAssociation: false
|
136
|
-
FilterBadObjectAssociationTemporalDstFactor: 1.5
|
137
|
-
FilterBadObjectAssociationBBoxWidthFactor: 0.4
|
138
|
-
|
139
|
-
Clamp3DJointLocationChange: true
|
140
|
-
Max3DJointLocationChange: 0.5
|
141
|
-
Max3DJointLocationMaxAcclerationFactor: 5.0
|
142
|
-
ClampJointStateChange: true
|
143
|
-
MaxJointStateChange: 0.5
|
144
|
-
MaxJointStateMaxAcclerationFactor: 5.0
|
145
|
-
|
146
|
-
UseKalmanFilter: false
|
147
|
-
KalmanLatencyUpdateFrames: 0
|
148
|
-
NumKalmanTransitionFrames: 20
|
149
|
-
NumFramesBeforeKalmanFilter: 50
|
150
|
-
|
151
|
-
NumBoneLengthOptimzationFrames: 50
|
152
|
-
UseBoneLengthFromTriangulation: true
|
153
|
-
|
154
|
-
PinoStateUpdateFactor: 0.0
|
155
|
-
MaxPoseOptimizeIteration: 10
|
156
|
-
MaxBoneOptimizeIteration: 10
|
157
|
-
PoseFunctionTolerance: 0.01
|
158
|
-
PoseParameterTolerance: 0.01
|
159
|
-
PoseSolverHeightNormalization: true
|
160
|
-
BoneLengthFunctionTolerance: 0.01
|
161
|
-
BoneLengthParameterTolerance: 0.01
|
162
|
-
NumCeresThreads: 4
|
163
|
-
|
164
|
-
CalcCircularCaptureAreaFrom2CameraPositions: true
|
165
|
-
CalcCaptureAreaFromCameraPositions: true
|
166
|
-
|
167
|
-
inputs:
|
168
|
-
video_dir:
|
169
|
-
~/MOX_projects/videos_processed
|
170
|
-
calib_pkl_dir:
|
171
|
-
~/MOX_projects/calib
|
172
|
-
mocap_path: /usr/local/moveai/bin/mocap-nogui
|
173
|
-
settings_path: /usr/local/moveai/settings_rt.ini
|
174
|
-
actor_profile_dir:
|
175
|
-
actor_prior_obs_dir:
|
176
|
-
outputs:
|
177
|
-
log_dir: ~/MOX_projects/log
|
178
|
-
mocap_result_dir:
|
179
|
-
~/MOX_projects/mocap_result
|
180
|
-
mocap_new_track_debug_dir:
|
181
|
-
~/MOX_projects/mocap_new_track_debug
|
182
|
-
mocap_viz_debug_dir:
|
183
|
-
~/MOX_projects/mocap_viz_debug
|
184
|
-
vis_calib_area_dir:
|
185
|
-
~/MOX_projects/vis_calib_area
|
186
|
-
prelabelled_bb_dir:
|
187
|
-
~/MOX_projects/prelabelled_bb
|
188
|
-
pose2d_dir:
|
189
|
-
~/MOX_projects/pose2d_track
|
190
|
-
calib_yaml_dir:
|
191
|
-
~/MOX_projects/mocap_calib
|
192
35
|
OpsHandsGen2:
|
193
36
|
run_type: "multicam"
|
194
37
|
custom_bboxes: true
|
@@ -202,7 +45,7 @@ ops_cfg:
|
|
202
45
|
model_data_dir: '~/MOX_projects/wilor'
|
203
46
|
|
204
47
|
OpsPrepKalmanV2:
|
205
|
-
run_type: multicam
|
48
|
+
run_type: "multicam"
|
206
49
|
mdc_use_3d_bone_dir_obs: false
|
207
50
|
iou_threshold: 0.3
|
208
51
|
sources:
|
@@ -251,7 +94,7 @@ ops_cfg:
|
|
251
94
|
|
252
95
|
- name: second stage
|
253
96
|
transition: mocap_kalman.kalman.transition.transition.SimpleTransitionModel
|
254
|
-
Q_matrix: mocap_kalman.kalman.parameters.Q_matrices.
|
97
|
+
Q_matrix: mocap_kalman.kalman.parameters.Q_matrices.Q_Moveai_11
|
255
98
|
Q_factor: 0.75
|
256
99
|
observations: [POSES_2D, SPINE, TRAJECTORY_CONTACT, PLANAR_CONTACT]
|
257
100
|
smooth_state: true
|
@@ -334,41 +177,6 @@ ops_cfg:
|
|
334
177
|
outputs:
|
335
178
|
output_dir: ~/MOX_projects/blender/
|
336
179
|
|
337
|
-
OpsDetectObjects:
|
338
|
-
# sort all detect bbs using area or score, then pick the first n_max_objects, if it > 0
|
339
|
-
n_max_objects: -1 # -1 for taking all object bounding boxes.
|
340
|
-
n_max_objects_selection_strategy: "area" # in ["score", "area", "score_area"]
|
341
|
-
batch_size: 8
|
342
|
-
# for YOLOV5.
|
343
|
-
conf_thres: 0.25 # NNS threshold
|
344
|
-
iou_thres: 0.45 # NNS threshold
|
345
|
-
augment: false # flipping augmentation.
|
346
|
-
yolov5_class_ids: [ 32 ]
|
347
|
-
yolov5_class_names: [ 'ball' ]
|
348
|
-
visualize: false
|
349
|
-
inputs:
|
350
|
-
video_dir: '~/MOX_projects/videos_processed'
|
351
|
-
model_path: '/usr/local/moveai/models/yolo/yolov5x_updated.pt'
|
352
|
-
outputs:
|
353
|
-
detect_dir: '~/MOX_projects/detect_obj_2d'
|
354
|
-
detect_vis_dir: '~/MOX_projects/detect_obj_2d_viz'
|
355
|
-
|
356
|
-
OpsDetectMarkerObjects:
|
357
|
-
marker_settings: [ { "object": "ball", "n_markers": 1, "n_objects": 1 } ]
|
358
|
-
inputs :
|
359
|
-
video_dir: '~/MOX_projects/videos_processed'
|
360
|
-
detect_dir: '~/MOX_projects/detect_obj_2d'
|
361
|
-
outputs:
|
362
|
-
detect_semantic_dir: '~/MOX_projects/detect_semantic_obj_2d'
|
363
|
-
|
364
|
-
OpsMarkerKalmanFilter:
|
365
|
-
marker_settings: [ { "object": "ball", "n_markers": 1, "n_objects": 1 } ]
|
366
|
-
inputs:
|
367
|
-
detect_semantic_dir: '~/MOX_projects/detect_semantic_obj_2d'
|
368
|
-
calib_pkl_dir: '~/MOX_projects/calib'
|
369
|
-
outputs:
|
370
|
-
marker_kalman_dir: '~/MOX_projects/markers_kalman'
|
371
|
-
|
372
180
|
OpsMarkersToBlend:
|
373
181
|
export_fbx: true
|
374
182
|
export_gltf: true
|
@@ -380,3 +188,11 @@ ops_cfg:
|
|
380
188
|
log_dir: ~/MOX_projects/log
|
381
189
|
props_dir: ~/MOX_projects/props_anims
|
382
190
|
export_dir: ~/MOX_projects/blender
|
191
|
+
|
192
|
+
OpsOnlineBallTracking:
|
193
|
+
inputs:
|
194
|
+
video_dir: '~/MOX_projects/videos_processed'
|
195
|
+
calib_pkl_dir: '~/MOX_projects/calib'
|
196
|
+
yolo_model_path: "/usr/local/moveai/models/yolo/yolo11x.pt"
|
197
|
+
outputs:
|
198
|
+
marker_kalman_dir: "~/MOX_projects/markers_kalman"
|
@@ -17,154 +17,9 @@ ops:
|
|
17
17
|
#failure_ops: [] # list of ops to run in case of failure
|
18
18
|
|
19
19
|
ops_cfg:
|
20
|
-
OpsDownloadDataset:
|
21
|
-
dataset:
|
22
|
-
- in_files:
|
23
|
-
- "s3://testcases.moveai/MDC/case5/videos/cam01.mov"
|
24
|
-
- "s3://testcases.moveai/MDC/case5/videos/cam02.mov"
|
25
|
-
- "s3://testcases.moveai/MDC/case5/videos/cam03.mov"
|
26
|
-
- "s3://testcases.moveai/MDC/case5/videos/cam04.mov"
|
27
|
-
- "s3://testcases.moveai/MDC/case5/videos/cam05.mov"
|
28
|
-
- "s3://testcases.moveai/MDC/case5/videos/cam06.mov"
|
29
|
-
out_path: "~/MOX_projects_calib/videos"
|
30
|
-
unzip: false
|
31
|
-
|
32
20
|
OpsInputVideosAudios:
|
33
21
|
is_gopro: false
|
34
22
|
inputs:
|
35
|
-
video_raw_dir: '~/
|
36
|
-
outputs:
|
37
|
-
log_dir: '~/MOX_projects_calib/log'
|
38
|
-
|
39
|
-
OpsSyncMultiviewVideos:
|
40
|
-
# auto sync settings
|
41
|
-
# set action_ss and action_to if you want to crop a specific time range in input videos.
|
42
|
-
# warning: 'ss' and 'to' must be specified on the video whose lag is smallest; otherwise, it could fail
|
43
|
-
# for the case when the lag between videos are large.
|
44
|
-
# example. action_start_time: '20.15' action_end_time: '30.35' means action stats from the seconds 20.15 to 30.35
|
45
|
-
action_start_time: 0 # start time of the action in format seconds.millisecond. ffmpeg -ss
|
46
|
-
action_end_time: "" # end time of the action in the format seconds.millisecond. ffmpeg -to
|
47
|
-
search_win: [2.0, 6.0] # clap hand time range, in seconds. If no range is specified then search_win
|
48
|
-
# is calculated automatically in the code based on clapping.
|
49
|
-
delete_input_videos: false
|
50
|
-
inputs:
|
51
|
-
video_raw_dir: '~/MOX_projects_calib/videos'
|
23
|
+
video_raw_dir: '~/MOX_projects/videos'
|
52
24
|
outputs:
|
53
|
-
log_dir: '~/
|
54
|
-
video_dir: '~/MOX_projects_calib/videos_processed'
|
55
|
-
sync_vis_dir: '~/MOX_projects_calib/sync_vis'
|
56
|
-
# Use iphone metadata to sync
|
57
|
-
iphone_sync:
|
58
|
-
use_host_timecode: false
|
59
|
-
use_tentacle: false
|
60
|
-
# manual sync settings
|
61
|
-
manual_sync:
|
62
|
-
active: false # set it to true if you want to run manual sync given delay in timestamp
|
63
|
-
# seconds.milliseconds. relative offset. earliest camera should have ss = 0.0
|
64
|
-
cams_lag: # ffmpeg -ss
|
65
|
-
cam01: 0.0
|
66
|
-
#cam02: 0.02
|
67
|
-
#cam03: 0.04
|
68
|
-
#....
|
69
|
-
# all cameras share the same duration and starting time
|
70
|
-
base_ss: 0.0 # seconds.milliseconds
|
71
|
-
duration: 0.0 # ffmpeg -t seconds.milliseconds. 0.0 means the whole video.
|
72
|
-
win_len_samples: 1024
|
73
|
-
win_step_sec: 0.001
|
74
|
-
use_audio_files: false
|
75
|
-
timecode: false
|
76
|
-
|
77
|
-
|
78
|
-
OpsTrackingCalib:
|
79
|
-
enable_vis_debug: true # expensive video debugging
|
80
|
-
vis_debug_rate_ms: 1000 # one frame every 1000ms
|
81
|
-
n_max_people: 1
|
82
|
-
capture_area_type: normal
|
83
|
-
min_move_factor: 2.0 # the tracklet head width / 0.25*mean_bb_width must be greater than this threshold
|
84
|
-
min_head_kps_score: 0.6 # tracklet must have medium score of at least 0.6
|
85
|
-
min_object_calib_score: 0.1 # calib object [human] must have confidence score of at least 0.8
|
86
|
-
is_background_people_moving: false
|
87
|
-
min_hand_over_shoulder_perc: 0.3 # hand over shoulder for at least 25% of track duration
|
88
|
-
min_tracklet_duration: 0.25 # seconds
|
89
|
-
max_initial_idle_secs: 3 # the first few seconds when the calib person does not move
|
90
|
-
use_detection_cpp: true
|
91
|
-
use_nonoverlapping_rule: true
|
92
|
-
use_cuda_decoder: true
|
93
|
-
CalibCppParams:
|
94
|
-
NumMaxObjectPerFrame: 16
|
95
|
-
YoloModelType: "yolov5m"
|
96
|
-
YoloModelFp16: true
|
97
|
-
YoloModelMaxBs: -1
|
98
|
-
|
99
|
-
PoseModelMaxBs: -1
|
100
|
-
PoseModelBsFactor: 2
|
101
|
-
Single2DPoseModelName: "pose_2D_vit_large_moveai29"
|
102
|
-
PoseModelFp16: true
|
103
|
-
CudaGraphInference: false
|
104
|
-
|
105
|
-
UseTracking: true
|
106
|
-
DetectionIntervalMs: 2000
|
107
|
-
inputs:
|
108
|
-
video_dir: '~/MOX_projects_calib/videos_processed'
|
109
|
-
mocap_path: '/usr/local/moveai/bin/mocap-calibration'
|
110
|
-
settings_path: '/usr/local/moveai/settings_rt.ini'
|
111
|
-
outputs:
|
112
|
-
pose2d_dir: '~/MOX_projects_calib/pose2d_track'
|
113
|
-
calib_detections_dir: '~/MOX_projects_calib/calib_detections'
|
114
|
-
log_dir: '~/MOX_projects_calib/log'
|
115
|
-
debug_viz_dir: '~/MOX_projects_calib/calib_detect_viz_debug'
|
116
|
-
|
117
|
-
OpsCalibrate:
|
118
|
-
is_intrinsic_k_from_video: false
|
119
|
-
subject_height: 1.77
|
120
|
-
capture_area_type: normal
|
121
|
-
cam_intrinsics: {}
|
122
|
-
# if all cameras are the same model, using only a single cam_k
|
123
|
-
# if cameras are different, have one line for each camera. The number of lines must be equal to the number of cameras.
|
124
|
-
cam_k:
|
125
|
-
- [ [ 885.98, 0, 960.04 ], [ 0, 900.27, 533.31 ], [ 0, 0, 1 ] ]
|
126
|
-
secs_to_use_scale: [ 0, 1.0 ]
|
127
|
-
frames_to_use_calib: [ 0, -1 ]
|
128
|
-
frames_to_use_floor: [ [ 0, -1 ] ]
|
129
|
-
|
130
|
-
recalibrate: true # run calibration again with bad keypoint filtering
|
131
|
-
err_threshold: 50 # bad keypoint re-projection threshold, used with recalibration
|
132
|
-
use_bundle_adjustment: true
|
133
|
-
optimize_plane: false
|
134
|
-
max_dist: 0.02
|
135
|
-
# just run calibration for keypoints whose confidences above this value.
|
136
|
-
min_kps_confidence: 0.8
|
137
|
-
# Filter keypoints used for the estimation of scaling factor according to their confidence scores.
|
138
|
-
min_confidence_scaling: { 'normal': 0.5, 'large': 0.85 }
|
139
|
-
scale_factor_capture_area: 1.15
|
140
|
-
inputs:
|
141
|
-
pose2d_dir: '~/MOX_projects_calib/pose2d_track'
|
142
|
-
video_dir: "~/MOX_projects_calib/videos_processed"
|
143
|
-
video_raw_dir: "~/MOX_projects_calib/videos"
|
144
|
-
outputs:
|
145
|
-
calib_pkl_dir: '~/MOX_projects_calib/calib'
|
146
|
-
calib_quality_dir: '~/MOX_projects_calib/calib_quality'
|
147
|
-
calib_yaml_dir: '~/MOX_projects_calib/mocap_calib'
|
148
|
-
|
149
|
-
|
150
|
-
OpsReportCalib:
|
151
|
-
inputs:
|
152
|
-
calib_quality_dir: '~/MOX_projects_calib/calib_quality'
|
153
|
-
video_dir: "~/MOX_projects_calib/videos_processed"
|
154
|
-
outputs:
|
155
|
-
report_pdf_path: '~/MOX_projects_calib/calib_quality/report.pdf'
|
156
|
-
|
157
|
-
|
158
|
-
OpsVisualization:
|
159
|
-
inputs:
|
160
|
-
pose2d_dir: '~/MOX_projects_calib/pose2d_track'
|
161
|
-
video_dir: "~/MOX_projects_calib/videos_processed"
|
162
|
-
outputs:
|
163
|
-
viz_dir: '~/MOX_projects_calib/calib_vis'
|
164
|
-
|
165
|
-
|
166
|
-
OpsOnFailure:
|
167
|
-
inputs:
|
168
|
-
run_dir: '~/MOX_projects_calib'
|
169
|
-
log_dir: '~/MOX_projects_calib/logs'
|
170
|
-
output_run_dir: "s3://testcases.moveai/dummy_run/"
|
25
|
+
log_dir: '~/MOX_projects/log'
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import os as _os
|
2
|
+
import sys as _sys
|
3
|
+
_axeSearchPath = _os.path.dirname(_os.path.abspath(__file__))
|
4
|
+
while not _os.path.exists(_os.path.join(_axeSearchPath,
|
5
|
+
'axengine_1756721831_1651120261.py')):
|
6
|
+
_newAxeSearchPath = _os.path.normpath(_os.path.join(_axeSearchPath, '..'))
|
7
|
+
if _newAxeSearchPath == _axeSearchPath or len(_axeSearchPath) == 0:
|
8
|
+
break
|
9
|
+
_axeSearchPath = _newAxeSearchPath
|
10
|
+
try:
|
11
|
+
_sys.path.append(_axeSearchPath)
|
12
|
+
import axengine_1756721831_1651120261 as _axengine
|
13
|
+
except Exception as e:
|
14
|
+
raise Exception('Failed to load AxEngine!') from e
|
15
|
+
finally:
|
16
|
+
_sys.path.pop()
|
17
|
+
from axengine_1756721831_1651120261 import WupiError, WupiLicenseError, WupiErrorCode
|
18
|
+
_axengine._axe_run(761, globals())
|
@@ -2,17 +2,17 @@ import os as _os
|
|
2
2
|
import sys as _sys
|
3
3
|
_axeSearchPath = _os.path.dirname(_os.path.abspath(__file__))
|
4
4
|
while not _os.path.exists(_os.path.join(_axeSearchPath,
|
5
|
-
'
|
5
|
+
'axengine_1756721831_1651120261.py')):
|
6
6
|
_newAxeSearchPath = _os.path.normpath(_os.path.join(_axeSearchPath, '..'))
|
7
7
|
if _newAxeSearchPath == _axeSearchPath or len(_axeSearchPath) == 0:
|
8
8
|
break
|
9
9
|
_axeSearchPath = _newAxeSearchPath
|
10
10
|
try:
|
11
11
|
_sys.path.append(_axeSearchPath)
|
12
|
-
import
|
12
|
+
import axengine_1756721831_1651120261 as _axengine
|
13
13
|
except Exception as e:
|
14
14
|
raise Exception('Failed to load AxEngine!') from e
|
15
15
|
finally:
|
16
16
|
_sys.path.pop()
|
17
|
-
from
|
18
|
-
_axengine._axe_run(
|
17
|
+
from axengine_1756721831_1651120261 import WupiError, WupiLicenseError, WupiErrorCode
|
18
|
+
_axengine._axe_run(763, globals())
|
mocap_desktop_gui/mc/util.py
CHANGED
@@ -2,17 +2,17 @@ import os as _os
|
|
2
2
|
import sys as _sys
|
3
3
|
_axeSearchPath = _os.path.dirname(_os.path.abspath(__file__))
|
4
4
|
while not _os.path.exists(_os.path.join(_axeSearchPath,
|
5
|
-
'
|
5
|
+
'axengine_1756721831_1651120261.py')):
|
6
6
|
_newAxeSearchPath = _os.path.normpath(_os.path.join(_axeSearchPath, '..'))
|
7
7
|
if _newAxeSearchPath == _axeSearchPath or len(_axeSearchPath) == 0:
|
8
8
|
break
|
9
9
|
_axeSearchPath = _newAxeSearchPath
|
10
10
|
try:
|
11
11
|
_sys.path.append(_axeSearchPath)
|
12
|
-
import
|
12
|
+
import axengine_1756721831_1651120261 as _axengine
|
13
13
|
except Exception as e:
|
14
14
|
raise Exception('Failed to load AxEngine!') from e
|
15
15
|
finally:
|
16
16
|
_sys.path.pop()
|
17
|
-
from
|
18
|
-
_axengine._axe_run(
|
17
|
+
from axengine_1756721831_1651120261 import WupiError, WupiLicenseError, WupiErrorCode
|
18
|
+
_axengine._axe_run(43, globals())
|
mocap_desktop_gui/sample.py
CHANGED
@@ -2,17 +2,17 @@ import os as _os
|
|
2
2
|
import sys as _sys
|
3
3
|
_axeSearchPath = _os.path.dirname(_os.path.abspath(__file__))
|
4
4
|
while not _os.path.exists(_os.path.join(_axeSearchPath,
|
5
|
-
'
|
5
|
+
'axengine_1756721831_1651120261.py')):
|
6
6
|
_newAxeSearchPath = _os.path.normpath(_os.path.join(_axeSearchPath, '..'))
|
7
7
|
if _newAxeSearchPath == _axeSearchPath or len(_axeSearchPath) == 0:
|
8
8
|
break
|
9
9
|
_axeSearchPath = _newAxeSearchPath
|
10
10
|
try:
|
11
11
|
_sys.path.append(_axeSearchPath)
|
12
|
-
import
|
12
|
+
import axengine_1756721831_1651120261 as _axengine
|
13
13
|
except Exception as e:
|
14
14
|
raise Exception('Failed to load AxEngine!') from e
|
15
15
|
finally:
|
16
16
|
_sys.path.pop()
|
17
|
-
from
|
18
|
-
_axengine._axe_run(
|
17
|
+
from axengine_1756721831_1651120261 import WupiError, WupiLicenseError, WupiErrorCode
|
18
|
+
_axengine._axe_run(1361, globals())
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: mocap-desktop-gui
|
3
|
-
Version: 2.
|
3
|
+
Version: 2.4.2
|
4
4
|
Summary:
|
5
5
|
Author: Move.ai
|
6
6
|
Requires-Python: >=3.10,<3.13
|
@@ -10,6 +10,8 @@ Classifier: Programming Language :: Python :: 3.11
|
|
10
10
|
Classifier: Programming Language :: Python :: 3.12
|
11
11
|
Requires-Dist: PySide6 (==6.8.1)
|
12
12
|
Requires-Dist: auth0-python (>=4.7.2,<5.0.0)
|
13
|
+
Requires-Dist: codemeter-api (>=8.30.500,<9.0.0)
|
14
|
+
Requires-Dist: h5py (>=3.8.0,<4.0.0)
|
13
15
|
Requires-Dist: move-ugc-python (>=3.0.0)
|
14
16
|
Requires-Dist: numpy (==1.26.0)
|
15
17
|
Requires-Dist: opencv-python (==4.10.0.84)
|