| commit | fb52e0df1c976a8089526cd910947d15fbd8849d | [log] [tgz] |
|---|---|---|
| author | giolekva <giolekva@gmail.com> | Thu Apr 23 22:52:13 2020 +0400 |
| committer | giolekva <giolekva@gmail.com> | Thu Apr 23 22:52:13 2020 +0400 |
| tree | 5eb6f23c11962edcf68651eb8b0123eac890ebf5 | |
| parent | 0f503aafb5cb6a5a3c8ac6aeccea4dd873beac1f [diff] [blame] |
e2e face recognition
diff --git a/photos-ui/photo.html b/photos-ui/photo.html index 8628549..d41bb29 100644 --- a/photos-ui/photo.html +++ b/photos-ui/photo.html
@@ -4,7 +4,8 @@ <title>Photos</title> </head> <script src="static/photos.js"></script> - <body onload="initPhoto('gallery')"> - <div id="gallery" /> + <body onload="initImg('photo', '{{ .Id }}')"> + <img id="photo" onload="drawFaces('photo', 'faces', '{{ .Id }}')" src=""></img> + <canvas id="faces"></canvas> </body> </html>