You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-8Lines changed: 9 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -556,8 +556,8 @@ If you already have a calibration file, set `calibration_type` type to `convert`
556
556
> *N.B.:*_Intrinsic parameters:_ camera properties (focal length, optical center, distortion), usually need to be calculated only once in their lifetime. In theory, cameras with same model and same settings will have identical intrinsic parameters.\
557
557
> *N.B.:* If you already calculated intrinsic parameters earlier, you can skip this step by setting `overwrite_intrinsics` to false.
558
558
559
-
- Create a folder for each camera in your `Calibration\intrinsics` folder.
560
559
- For each camera, film a checkerboard or a charucoboard. Either the board or the camera can be moved.
560
+
- Create a folder for each camera in your `Calibration\intrinsics` folder and copy your images or videos in them.
561
561
- Adjust parameters in the [Config.toml](https://github.com/perfanalytics/pose2sim/blob/main/Pose2Sim/Demo_SinglePerson/Config.toml) file.
562
562
- Make sure that the board:
563
563
- is filmed from different angles, covers a large part of the video frame, and is in focus.
@@ -574,20 +574,21 @@ If you already have a calibration file, set `calibration_type` type to `convert`
574
574
> *N.B.:*_Extrinsic parameters:_ camera placement in space (position and orientation), need to be calculated every time a camera is moved. Can be calculated from a board, or from points in the scene with known coordinates.\
575
575
> *N.B.:* If there is no measurable item in the scene, you can temporarily bring something in (a table, for example), perform calibration, and then remove it before you start capturing motion.
576
576
577
-
- Create a folder for each camera in your `Calibration\extrinsics` folder.
578
-
- Once your cameras are in place, shortly film either a board laid on the floor, or the raw scene\
579
-
(only one frame is needed, but do not just take a photo unless you are sure it does not change the image format).
580
-
- Adjust parameters in the [Config.toml](https://github.com/perfanalytics/pose2sim/blob/main/Pose2Sim/Demo_SinglePerson/Config.toml) file.
581
-
- Then,
577
+
- 3 available methods:
582
578
-**With a checkerboard:**\
583
579
Make sure that it is seen by all cameras. \
584
-
It should preferably be larger than the one used for intrinsics, as results will not be very accurate out of the covered zone.
580
+
Can be set horizontally (default) or vertically (set `board_position = 'vertical'` in Config.toml). \
581
+
It should preferably be rather large, as results will not be very accurate out of the covered zone.
585
582
-**With scene measurements** (more flexible and potentially more accurate if points are spread out):\
586
583
Manually measure the 3D coordinates of 10 or more points in the scene (tiles, lines on wall, boxes, treadmill dimensions...). These points should be as spread out as possible. Replace `object_coords_3d` by these coordinates in Config.toml.\
587
584
Then you will click on the corresponding image points for each view.
588
585
-**With keypoints:**\
589
-
For a more automatic calibration, OpenPose keypoints could also be used for calibration.\
586
+
For a more automatic calibration, pose keypoints could also be used for calibration.\
590
587
**COMING SOON!**
588
+
- Once your cameras are in place, make a quicke recording of the checkerboard laid on the floor, or the raw scene (only one frame is needed, but do not just take a photo unless you are sure it does not change the image format). \
589
+
You can remove the checkerboard or the calibration object for the actual capture of your participants.
590
+
- Copy your files in the èxtrinsics` folder.
591
+
- Adjust parameters in the [Config.toml](https://github.com/perfanalytics/pose2sim/blob/main/Pose2Sim/Demo_SinglePerson/Config.toml) file.
0 commit comments