deeplabcut.utils.auxiliaryfunctions_3d
DeepLabCut2.0 Toolbox (deeplabcut.org) © A. & M. Mathis Labs https://github.com/DeepLabCut/DeepLabCut Please see AUTHORS for contributors.
https://github.com/DeepLabCut/DeepLabCut/blob/master/AUTHORS Licensed under GNU Lesser General Public License v3.0
Functions:
| Name | Description |
|---|---|
Foldernames3Dproject |
Definitions of subfolders in 3D projects. |
Get_list_of_triangulated_and_videoFiles |
Returns the list of triangulated h5 and the corresponding video files. |
compute_triangulation_calibration_images |
Performs triangulation of the calibration images. |
cross_view_match_dataframes |
Computes the costs and matched voting for tracks between a camera pair. |
get_camerawise_videos |
This function returns the list of videos corresponding to the camera names |
Foldernames3Dproject
Definitions of subfolders in 3D projects.
Source code in deeplabcut/utils/auxiliaryfunctions_3d.py
Get_list_of_triangulated_and_videoFiles
Returns the list of triangulated h5 and the corresponding video files.
Source code in deeplabcut/utils/auxiliaryfunctions_3d.py
167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 | |
compute_triangulation_calibration_images
compute_triangulation_calibration_images(
stereo_matrix, projectedPoints1, projectedPoints2, path_undistort, cfg_3d, plot=True
)
Performs triangulation of the calibration images.
Source code in deeplabcut/utils/auxiliaryfunctions_3d.py
cross_view_match_dataframes
Computes the costs and matched voting for tracks between a camera pair.
df: Data read from .h5 track file F: fundamental matrix from OpenCV
Source code in deeplabcut/utils/auxiliaryfunctions_3d.py
get_camerawise_videos
This function returns the list of videos corresponding to the camera names specified in the cam_names. e.g. if cam_names = ['camera-1','camera-2']
then it will return [['somename-camera-1-othername.avi', 'somename- camera-2-othername.avi']]