alg: Return qrcode if detected
This commit is contained in:
parent
abd29721e3
commit
c5c8170b1f
@ -422,6 +422,7 @@ bool emblem_dot_angle(ProcessState &ps, InputArray in, float &angle, string &qrc
|
||||
preprocess(ps);
|
||||
|
||||
if (!detect_qr(ps, 0.20, true, err)) {
|
||||
qrcode = ps.qrcode;
|
||||
err = "detect_qr: " + err;
|
||||
return false;
|
||||
}
|
||||
|
||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user