Skip to content

双目测距标定程序,用于标定双目摄像头

Notifications You must be signed in to change notification settings

hoshinohikari/Double-target

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Double-target


Author HoshinoKun
E-mail hoshinokun@346pro.club

目录

介绍

一款摄像头的双目测距程序,包含了标定用图以及标定数据,使用Matlab标定工具箱标定
包含两种像素的不同代码及标定图片与结果

运行

当想使用摄像头拍照时,请使用

python cap.py

当拍照完成后,使用MATLAB工具箱标定相机,得到的数据类似Calib_Results_stereo_data.txt内所描述,将其手工填至camera_config.py内,使用

python test.py

在代码内含有两种不同的匹配算法,可手动调节,BM算法速度较快,SGBM算法精确度较高,默认使用SGBM算法

About

双目测距标定程序,用于标定双目摄像头

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages