SciKit-Surgery / scikit-surgerybard

BARD: The Basic Augmented Reality Demo, used at MedICSS summer school.
https://scikit-surgerybard.readthedocs.io/
Other
7 stars 3 forks source link

doc: update calibration documentation #114

Closed swishswish123 closed 1 year ago

swishswish123 commented 1 year ago

params in docs need updating to match the correct params.

In docs it says: Use the ‘-s’ option to specify a directory to save to, and the ‘-p’ option to specify a filename prefix.

Doing this gives this error: source = vcu.validate_camera_source(source) File "/Users/aure/miniconda3/envs/BARD/lib/python3.7/site-packages/sksurgeryutils/utils/opencv_video_capture_utils.py", line 35, in validate_camera_source raise RuntimeError("OpenCV source is a string, but not a file.") RuntimeError: OpenCV source is a string, but not a file.

the reason being that the params are the following: -s is the openCV source (eg. 0 for webcam) -o for output -p was correct (prefix (-ni not mentioned was for non-interactive mode)

mxochicale commented 1 year ago

Hi @swishswish123

just fixed this one with the following changes: Screenshot from 2023-06-23 08-24-16

Feel free to re-open it if there is something missing. Cheers,--Miguel