项目作者: pio127

项目描述 :
Building cheap stereo vision set based on two ps3 eye cameras.
高级语言: C++
项目地址: git://github.com/pio127/stereo-camera-opencv.git
创建时间: 2019-03-06T22:33:43Z
项目社区:https://github.com/pio127/stereo-camera-opencv

开源协议:

下载


Stereo Camera

Using 2 PS3 Eye cameras to get depth map.

Works under Linux(Manjaro, Ubuntu, Raspberry Pi3 running Rasbian) without additional drivers because of ov534 driver coming with kernel.

For Windows it’s trickier to get it working(https://github.com/psmoveservice/PSMoveService/wiki/PSEye-Software-Setup-%28Windows%29).

Requirements

  • 2 cameras,
  • V4L2 library(if under linux and only for ps eye cameras),
  • built OpenCV or Conan package manager.

Install

  1. mkdir build
  2. cd build
  3. conan install ..
  4. cmake ..
  5. cmake --build .

Notes:

  • If there is already an OpenCV library installed then conan install is not needed.
  • For problems with dependency packages(such as pre-built packages not found) conan install .. —build=missing should help. It builds them directly from sources.

Info

There are 3 executables:

  1. testCamera - just image capture and display
  2. calibration - calibrates stereo cam(chessboard pattern board needed), outputs calibration file in yaml format
  3. depthMap - uses calibration file and then generates depth map of captured scene