diff --git a/.idea/image_anotate.iml b/.idea/image_anotate.iml index 0c8867d..1448065 100644 --- a/.idea/image_anotate.iml +++ b/.idea/image_anotate.iml @@ -8,5 +8,6 @@ + \ No newline at end of file diff --git a/css/styles.css b/css/styles.css new file mode 100644 index 0000000..4ce2722 --- /dev/null +++ b/css/styles.css @@ -0,0 +1,18 @@ +html, +body { + padding: 0px; + margin: 0px; +} + +#app { + width: 100vw; + height: 100vh; + display: flex; + align-items: center; + justify-content: center; +} + +#sampleImage { + max-width: 100%; + max-height: 80%; +} diff --git a/imgs/scene2.png b/imgs/scene2.png new file mode 100644 index 0000000..721faf7 Binary files /dev/null and b/imgs/scene2.png differ diff --git a/index.html b/index.html index bbf37b6..4daf5f1 100644 --- a/index.html +++ b/index.html @@ -83,305 +83,7 @@ - + @@ -391,59 +93,5 @@ integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"> - - - -
- -
- - - - - diff --git a/select.js b/js/select.js similarity index 98% rename from select.js rename to js/select.js index 6fc36d8..ab26d7e 100644 --- a/select.js +++ b/js/select.js @@ -18,10 +18,10 @@ var current_canvas_rect={} var mouseX, mouseY var startX, startY -var th_left = 504; -var th_top = 0; -var th_right = 3528; -var th_bottom = 3024; +var th_left = 150; +var th_top = 896; +var th_right = 2009; +var th_bottom = 2753; var th_width = th_right - th_left; var th_height = th_bottom - th_top; @@ -29,6 +29,8 @@ var th_height = th_bottom - th_top; var effective_image_width = 4032; var effective_image_height = 3024; + + //drawRectInCanvas() connected functions -- START function updateHiddenInputs(){ var inverse_ratio_w = effective_image_width / canvas.width; diff --git a/marker.html b/marker.html new file mode 100644 index 0000000..628bc4b --- /dev/null +++ b/marker.html @@ -0,0 +1,98 @@ + + + + To user model + + + + + + +
+ + + +
+ + + + + +