Home > other >  OpenCV marked how to determine the contour of the qr code and c # code
OpenCV marked how to determine the contour of the qr code and c # code

Time:09-24

Novice do OpenCV, meet a problem now just don't know how to find the outline of qr code, this how to judge? And please some instruction, if there are c # code is better, thank you, thank you,

CodePudding user response:

Is to find a square contour in the qr code? Is it inside the contour line? Direct binarization and contour extraction should be right, after all, qr code generally white background and black text, foreground background is quite easy to separate, opencv is a ready-made qr code extraction function, but just take a rectangular,
  • Related