OpenCV样本中的jpg文件在哪里camera_calibration
Where are the jpg files in OpenCV sample camera_calibration
"camera_calibration"是OpenCV中的calib3d样本。在此文件夹中,名为 "VID5.xml" 的文件列出了 运行 的图像。但是我在OpenCV源中找不到这些jpg文件。
谢谢。
这些图像未随 OpenCV 一起提供。你需要用你的相机给电路板拍几张快照。
文件VID5.xml是:
<?xml version="1.0"?>
<opencv_storage>
<images>
images/CameraCalibraation/VID5/xx1.jpg
images/CameraCalibraation/VID5/xx2.jpg
images/CameraCalibraation/VID5/xx3.jpg
images/CameraCalibraation/VID5/xx4.jpg
images/CameraCalibraation/VID5/xx5.jpg
images/CameraCalibraation/VID5/xx6.jpg
images/CameraCalibraation/VID5/xx7.jpg
images/CameraCalibraation/VID5/xx8.jpg
</images>
</opencv_storage>
如 tutorial 中所述:
In the configuration file you may choose to use camera as an input, a video file or an image list. If you opt for the last one, you will need to create a configuration file where you enumerate the images to use.
和
I've used an AXIS IP camera to create a couple of snapshots of the board and saved it into VID5 directory.
或者,为了进行快速测试,您可以使用 source[=31= 中 samples/data 目录中的图像 right01.jpg, ..., right14.jpg
或 left01.jpg, ..., left14.jpg
]文件夹。
"camera_calibration"是OpenCV中的calib3d样本。在此文件夹中,名为 "VID5.xml" 的文件列出了 运行 的图像。但是我在OpenCV源中找不到这些jpg文件。
谢谢。
这些图像未随 OpenCV 一起提供。你需要用你的相机给电路板拍几张快照。
文件VID5.xml是:
<?xml version="1.0"?>
<opencv_storage>
<images>
images/CameraCalibraation/VID5/xx1.jpg
images/CameraCalibraation/VID5/xx2.jpg
images/CameraCalibraation/VID5/xx3.jpg
images/CameraCalibraation/VID5/xx4.jpg
images/CameraCalibraation/VID5/xx5.jpg
images/CameraCalibraation/VID5/xx6.jpg
images/CameraCalibraation/VID5/xx7.jpg
images/CameraCalibraation/VID5/xx8.jpg
</images>
</opencv_storage>
如 tutorial 中所述:
In the configuration file you may choose to use camera as an input, a video file or an image list. If you opt for the last one, you will need to create a configuration file where you enumerate the images to use.
和
I've used an AXIS IP camera to create a couple of snapshots of the board and saved it into VID5 directory.
或者,为了进行快速测试,您可以使用 source[=31= 中 samples/data 目录中的图像 right01.jpg, ..., right14.jpg
或 left01.jpg, ..., left14.jpg
]文件夹。