erget / StereoVision

Library and utilities for 3d reconstruction from stereo cameras.
http://erget.github.io/StereoVision
GNU General Public License v3.0
649 stars 268 forks source link

Unable to run tune_blockmatcher, initialize trackbars getting got float value #38

Open r-rajsingh opened 5 years ago

r-rajsingh commented 5 years ago

I tried a lot, even referred to open cv documentation for setting the correct values in "cv2.StereoSGBM_create()" function. Still, I m getting the error "TypeError: integer argument expected, got float". Please if anyone could help me. Screenshot from 2019-08-17 12-22-19

Below are the values that I have set. I am even getting this error by the default code.

Screenshot from 2019-08-17 13-41-54