# How to run sample in 3d module (opencv5)

**URL:** <https://forum.opencv.org/t/how-to-run-sample-in-3d-module-opencv5/12483>\
**Category:** Uncategorized\
**Tags:** 3d\
**Created:** [March 22, 2023, 11:59am UTC](https://forum.opencv.org/t/how-to-run-sample-in-3d-module-opencv5/12483 "2023-03-22T11:59:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![laurent.berger](https://avatars.discourse-cdn.com/v4/letter/l/ec9cab/32.png) [@laurent.berger](https://forum.opencv.org/u/laurent.berger)\
**Post date:** [March 22, 2023, 11:59am UTC](https://forum.opencv.org/t/how-to-run-sample-in-3d-module-opencv5/12483/1 "2023-03-22T11:59:30Z")

</div>

Hi,  
There is a [sample](https://github.com/opencv/opencv/blob/5.x/modules/3d/samples/odometry_evaluation.cpp) in 3d module(opencv5).  
How to run this sample is not clear.  
I downloaded a [data base](https://cvg.cit.tum.de/rgbd/dataset/freiburg1/rgbd_dataset_freiburg1_xyz.tgz) as [it is written](https://github.com/opencv/opencv/blob/5.x/modules/3d/samples/odometry_evaluation.cpp#L63).  
there a rgb.txt and depth.txt file. Now I understand that file are not in a [good format](https://github.com/opencv/opencv_contrib/blob/4.x/modules/rgbd/samples/odometry_evaluation.cpp#L165-L166).  
I merge files (rgb.txt and depth.txt) and example give a result in file.  
Is it the good data base to use this sample?
