Add sample data.

This commit is contained in:
Daniel
2024-06-26 16:36:36 +02:00
parent f8bba10656
commit b4a55be4bd
59 changed files with 2465 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

22
data/h1/README.md Normal file
View File

@ -0,0 +1,22 @@
Image source:
```bash
cp '/datasets/human36m/S9/Phoning-2/imageSequence/54138969/img_003201.jpg' ./54138969-img_003201.jpg
cp '/datasets/human36m/S9/Phoning-2/imageSequence/55011271/img_003201.jpg' ./55011271-img_003201.jpg
cp '/datasets/human36m/S9/Phoning-2/imageSequence/58860488/img_003201.jpg' ./58860488-img_003201.jpg
cp '/datasets/human36m/S9/Phoning-2/imageSequence/60457274/img_003201.jpg' ./60457274-img_003201.jpg
```
Convert to equal sized images:
```bash
mogrify -resize 1000x1000! 54138969-img_003201.jpg
mogrify -resize 1000x1000! 60457274-img_003201.jpg
```
Update camera intrinsics:
```python3
import numpy as np
C = np.array([[1, 0, 0], [0, 1000/1002, 0], [0, 0, 1]])
K = np.array([])
np.dot(C, K)
```

250
data/h1/sample.json Normal file
View File

@ -0,0 +1,250 @@
{
"dataset_name": "human36m",
"num_persons": 1,
"room_size": [
4.8,
6.0,
2.0
],
"room_center": [
0,
0,
1.0
],
"imgpaths": [
"/datasets/human36m/54138969-img_003201.jpg",
"/datasets/human36m/55011271-img_003201.jpg",
"/datasets/human36m/58860488-img_003201.jpg",
"/datasets/human36m/60457274-img_003201.jpg"
],
"cameras": [
{
"name": "cam1",
"width": 1000,
"height": 1000,
"K": [
[
1.14504940e+03,
0.00000000e+00,
5.12541500e+02
],
[
0.00000000e+00,
1.14149810e+03,
5.14422635e+02
],
[
0.00000000e+00,
0.00000000e+00,
1.00000000e+00
]
],
"DC": [
-0.20709892,
0.24777518,
-0.00142447,
-0.0009757,
-0.00307515
],
"R": [
[
-0.9033486,
0.42691198,
0.0413211
],
[
0.04153061,
0.18295114,
-0.98224443
],
[
-0.42689165,
-0.88559306,
-0.18299858
]
],
"T": [
[
2.0444585
],
[
4.935117
],
[
1.4812275
]
]
},
{
"name": "cam2",
"width": 1000,
"height": 1000,
"K": [
[
1.1496757e+03,
0.0000000e+00,
5.0884863e+02
],
[
0.0000000e+00,
1.1475917e+03,
5.0806491e+02
],
[
0.0000000e+00,
0.0000000e+00,
1.0000000e+00
]
],
"DC": [
-0.19421363,
0.24040854,
-0.00274089,
-0.00161903,
0.00681998
],
"R": [
[
0.931572,
0.3634829,
-0.00732918
],
[
0.0681007,
-0.19426748,
-0.97858185
],
[
-0.35712156,
0.91112036,
-0.20572759
]
],
"T": [
[
1.9909597
],
[
-5.1238105
],
[
1.5688048
]
]
},
{
"name": "cam3",
"width": 1000,
"height": 1000,
"K": [
[
1.1491407e+03,
0.0000000e+00,
5.1981586e+02
],
[
0.0000000e+00,
1.1487990e+03,
5.0140265e+02
],
[
0.0000000e+00,
0.0000000e+00,
1.0000000e+00
]
],
"DC": [
-0.20833819,
0.255488,
-0.00076,
0.00148439,
-0.0024605
],
"R": [
[
-0.9269344,
-0.37323034,
-0.03862235
],
[
-0.04725991,
0.2182405,
-0.97475004
],
[
0.37223524,
-0.9017041,
-0.21993347
]
],
"T": [
[
-1.6709922
],
[
5.211986
],
[
1.528388
]
]
},
{
"name": "cam4",
"width": 1000,
"height": 1000,
"K": [
[
1.14551140e+03,
0.00000000e+00,
5.14968200e+02
],
[
0.00000000e+00,
1.14248892e+03,
5.00880259e+02
],
[
0.00000000e+00,
0.00000000e+00,
1.00000000e+00
]
],
"DC": [
-0.19838409,
0.21832368,
-0.00181336,
-0.00058721,
-0.00894781
],
"R": [
[
0.9154607,
-0.39734608,
0.0636223
],
[
-0.04940629,
-0.26789168,
-0.9621814
],
[
0.3993629,
0.8776959,
-0.2648757
]
],
"T": [
[
-1.6960435
],
[
-3.8270999
],
[
1.5914127
]
]
}
]
}