camera-5.0: Fix submit_image
This commit is contained in:
parent
4cbb643740
commit
239b95cff9
@ -178,7 +178,7 @@ function do_handle_frame() {
|
|||||||
var data_url = canvas.toDataURL("image/jpeg", 1.0);
|
var data_url = canvas.toDataURL("image/jpeg", 1.0);
|
||||||
image_data_urls.push(data_url);
|
image_data_urls.push(data_url);
|
||||||
if (image_data_urls.length >= 3) {
|
if (image_data_urls.length >= 3) {
|
||||||
submit_image(image_data_urls, res.qrcode, res.angle);
|
submit_image(res.qrcode, res.angle, image_data_urls);
|
||||||
image_data_urls = [];
|
image_data_urls = [];
|
||||||
} else {
|
} else {
|
||||||
pending_hint = make_hint_text(res);
|
pending_hint = make_hint_text(res);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user