/StereoVision_MC

Library and utilities for 3d reconstruction from stereo cameras.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Original Author: Daniel Lee <Lee.Daniel.1986@gmail.com>_

TODO

  • 坐标系变换
  • 物体识别

Bug list

  • capture_chessboards文件中的 enforce_delay 函数, text_xtext_y 必须是整数,修改为

    text_x = (int)((frames[0].shape[1] - text_size[0]) / 2)
    text_y = (int)((frames[0].shape[0] + text_size[1]) / 2)
    
  • 不要用 pip install stereovision ,因为这样调用的库函数和从github上下载的不一样,里面有问题。可以 pip uninstall stereovision 之后将 bin 文件夹之中的文件移动到根目录中运行,这样调用的库函数来自本地的stereovison文件夹。

  • stereovision\calibration 文件中的函数 calibrate_cameras 调换参数顺序due to opencv版本。 ref: https://github.com/erget/StereoVision/pull/16

  • tune_blockmatcher 报错 module 'cv2' has no attribute 'STEREO_BM_NARROW_PRESET' 从(https://github.com/sdlouhy/StereoVision)下载新库存到 stereovision_new 文件夹,tune_blockmatcherimages_to_pointcloud 也改用新的。

Ref