gocv
gocv copied to clipboard
gocv.FindContours return PointVector instead of []PointVector
Description
gocv.FindContours is supposed to return a []PointVector but returns just one PointVector
Steps to Reproduce
https://github.com/hybridgroup/gocv/blob/3f4d73bc6a6e20e4880c0ea208f3e80880e1c725/cmd/motion-detect/main.go#L86-L100
The location of the error is here: https://github.com/hybridgroup/gocv/blob/release/imgproc.cpp#L223
Your Environment
- Operating System and version: Raspberry Pi OS, Linux Kernel 5.15.84-v8+
- OpenCV version used: 4.8.0
- How did you install OpenCV? Compiled acc. to https://qengineering.eu/install-opencv-on-raspberry-pi.html
- GoCV version used: 0.34.0
- Go version: go version go1.21.0 linux/arm64
- Did you run the
env.sh
orenv.cmd
script before trying togo run
orgo build
?
sorry, my fault: I didn't noticed PointVector vs PointsVector