From 7d4157632d40fd347b41fa6cc20bdf91892f34cd Mon Sep 17 00:00:00 2001 From: acevest Date: Sun, 17 Jan 2021 14:29:35 +0800 Subject: [PATCH] ... --- projects/esp32_video_stream/esp32camweb/canvas.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/projects/esp32_video_stream/esp32camweb/canvas.html b/projects/esp32_video_stream/esp32camweb/canvas.html index 359eb7e..06d1810 100644 --- a/projects/esp32_video_stream/esp32camweb/canvas.html +++ b/projects/esp32_video_stream/esp32camweb/canvas.html @@ -12,7 +12,7 @@ - +

     

 
@@ -76,9 +76,9 @@
                 image.onload = () => {
                     URL.revokeObjectURL(image.src);
                     ctx.save();
-                    ctx.translate(120, 180);
+                    ctx.translate(60, 80);
                     ctx.rotate(90*(Math.PI/180));
-                    ctx.translate(-180, -120);
+                    ctx.translate(-80, -60);
                     ctx.drawImage(image, 0, 0);
                     ctx.restore();
                 }
-- 
2.44.0