diff --git a/other/logo-detect/test1.html b/other/logo-detect/test1.html index 1688b4c..4da7dad 100644 --- a/other/logo-detect/test1.html +++ b/other/logo-detect/test1.html @@ -15,7 +15,7 @@ img.onload = function (event) { var canvas = document.createElement("canvas"); var ctx = canvas.getContext("2d"); - ctx.drawImage(img, 0, 0, 300, 300); + ctx.drawImage(img, 0, 0, 48, 48); var dataurl = canvas.toDataURL(imageFile.type); document.getElementById("preview").src = dataurl; }