Description
I recently submitted a feature request #39 to return the coordinates of the QR code in the image. The updated version works great on Windows and MacOS but on Linux (where I need it to run), the returned coordinates are the boundaries of the entire image, not the QR code. When draw = TRUE is on, the blue bounding box borders the entire image.
Some info about the system:
Ubuntu 22.04.3 LTS
R Version: 4.3.2
R Studio Server: 2023.06.0 Build 421
Example Command:
library(opencv)
img <- opencv::ocv_read("https://scoutek-media.s3.amazonaws.com/photos/76879639-ef2066158d.jpg")
opencv::ocv_qr_detect(img, draw = TRUE)
Output from above
opencv::ocv_qr_detect(img, draw = TRUE)
<pointer: 0x55c04fb35f50>
attr(,"class")
[1] "opencv-image"
attr(,"value")
[1] "top"
attr(,"points")
[,1] [,2]
[1,] 0 0
[2,] 1919 0
[3,] 1919 1079
[4,] 0 1079