diff --git a/backend/TextDetector/__pycache__/__init__.cpython-35.pyc b/backend/TextDetector/__pycache__/__init__.cpython-35.pyc index 2b4c02a..9c26210 100644 Binary files a/backend/TextDetector/__pycache__/__init__.cpython-35.pyc and b/backend/TextDetector/__pycache__/__init__.cpython-35.pyc differ diff --git a/backend/main.py b/backend/main.py index bc15d52..1058cc4 100644 --- a/backend/main.py +++ b/backend/main.py @@ -54,4 +54,4 @@ def upload_file(): return 'invalid file' if __name__ == '__main__': - app.run(port='5001') + app.run(port='8081') diff --git a/buildspec.yml b/buildspec.yml index ae6f305..af60347 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -1,4 +1,4 @@ -version: 0.2 +version: 0.2f env: variables: AWS_DEFAULT_REGION: "ap-southeast-1" diff --git a/frontend/src/assets/js/QtRectangy.js b/frontend/src/assets/js/QtRectangy.js index 25ec9cf..7e51535 100644 --- a/frontend/src/assets/js/QtRectangy.js +++ b/frontend/src/assets/js/QtRectangy.js @@ -256,12 +256,12 @@ class Zoomer { // let dx = (e.pageX - cp.left) * (r - 1), // dy = (e.pageY - cp.top) * (r - 1); // - // CONTAINER.css({ - // width: nw, - // height: nh, - // left: cp.left - dx, - // top: cp.top - dy, - // }); + CONTAINER.css({ + width: nw, + height: nh, + // left: cp.left - dx, + // top: cp.top - dy, + }); // resize box $('[box]').each(function (e) { @@ -439,7 +439,7 @@ class DrawingROIStrategy { // create new label let label = $(''); label.css({ - backgroundColor: 'rgba(' + color + ', 0.5)' + backgroundColor: 'rgba(' + color + ', 0.6)' }); function resizeInput() {