gocv icon indicating copy to clipboard operation
gocv copied to clipboard

Support decode QR code from Curved surface and window.PollKey()

Open lcmmhcc opened this issue 1 year ago • 0 comments

im trying to use a wide-angle camera but can't decode the qr code from the image. it can detect the qr img, but fail to decode it. ive tried many times. i suppose may be it can decode by calling the method below

cv::String | decodeCurved (InputArray img, InputArray points, OutputArray straight_qrcode=noArray()) (https://docs.opencv.org/4.x/dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346)())

Description

another question is window.PollKey() is not supported and each time window.WaitKey(1) is called may cause a little delay by showing the image in window.

Steps to Reproduce

Your Environment

  • Operating System and version: mac, the latest
  • OpenCV version used: opencv@4
  • How did you install OpenCV? a scan qr project
  • GoCV version used: latest
  • Go version: 1.20
  • Did you run the env.sh or env.cmd script before trying to go run or go build? no

lcmmhcc avatar Mar 25 '23 17:03 lcmmhcc