@@ -95,15 +95,30 @@ implementations, including fast smoothing parameter auto-tuning using GPU-driven
9595[ Here] ( docs/singlecam_overview.md ) is a detailed overview of the workflow.
9696
9797### Multi-camera datasets
98- The ` multicam_example.py ` script demonstrates how to run the EKS code for multi-camera
99- setups where the pose predictions for a given model are all stored a separate csv file per camera.
100- We provide example data in the ` data/mirror-mouse-separate ` directory inside this repo,
101- for a two-view video of a mouse with cameras named ` top ` and ` bot ` .
102- To run the EKS on the example data provided, execute the following command from inside this repo:
98+ The ` multicam_example.py ` script supports two modes for multi-camera setups,
99+ depending on whether camera calibration information is available.
100+ In both cases, pose predictions should be stored a separate csv file per camera.
101+
102+ #### Without calibration (linear EKS)
103+ We provide example data in ` data/mirror-mouse-separate ` ,
104+ containing two-view mouse video with cameras named ` top ` and ` bot ` .
105+ To run linear EKS on this data , execute the following command from inside this repo:
103106
104107``` console
105108python scripts/multicam_example.py --input-dir ./data/mirror-mouse-separate --bodypart-list paw1LH paw2LF paw3RF paw4RH --camera-names top bot
106109```
110+
111+ #### With calibration (nonlinear EKS)
112+
113+ If camera calibration information is available, you can run a nonlinear version of EKS.
114+ Calibration data must be stored in ` .toml ` files using the [ Anipose] ( https://anipose.readthedocs.io/ ) format.
115+ We provide example data in ` data/fly ` , containing multi-view fly video with cameras named
116+ ` Cam-A ` , ` Cam-B ` , and ` Cam-C ` , along with a corresponding ` calibration.toml ` file.
117+ To run nonlinear EKS on this data, execute the following command from inside this repo:
118+
119+ ``` console
120+ python scripts/multicam_example.py --input-dir ./data/fly --bodypart-list L1A L1B --camera-names Cam-A Cam-B Cam-C --calibration ./data/fly/calibration.toml
121+ ```
107122
108123### Mirrored multi-camera datasets
109124The ` mirrored_multicam_example.py ` script demonstrates how to run the EKS code for multi-camera
@@ -140,10 +155,7 @@ python scripts/ibl_paw_multiview_example.py --input-dir ./data/ibl-paw
140155
141156### Authors
142157
143- Cole Hurwitz
144-
145- Keemin Lee
146-
147- Amol Pasarkar
148-
149- Matt Whiteway
158+ * [ Cole Hurwitz] ( https://github.com/colehurwitz )
159+ * [ Keemin Lee] ( https://github.com/keeminlee )
160+ * [ Amol Pasarkar] ( https://github.com/apasarkar )
161+ * [ Matt Whiteway] ( https://github.com/themattinthehatt )
0 commit comments