diff --git a/README.md b/README.md index 7305860..58a2006 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Annotate-Lab is an open-source application designed for image annotation, compri ![example](./sample_images/example.png) -# Demo [V2.0] +# Demo [V2.0](https://github.com/sumn2u/annotate-lab/releases/tag/2.0.0) [![Annotate Lab](https://img.youtube.com/vi/iUI6MKWqCeg/0.jpg)](https://www.youtube.com/watch?v=iUI6MKWqCeg) @@ -75,14 +75,14 @@ One can configure the tools, tags, upload images and do many more from the setti ## Dependencies ### Client -- React -- Axios +- [React](https://react.dev/) +- [Axios](https://axios-http.com/) - Other dependencies as listed in `package.json` ### Server -- Flask -- Flask-CORS -- pandas +- [Flask](https://flask.palletsprojects.com/en/3.0.x/) +- [Pandas](https://pandas.pydata.org/) +- [NumPy](https://numpy.org/) - Other dependencies as listed in `requirements.txt` ## Setup and Installation [[documentation page]](https://annotate-docs.dwaste.live/fundamentals/set-up-and-run) diff --git a/client/package.json b/client/package.json index a682269..7a51b4d 100644 --- a/client/package.json +++ b/client/package.json @@ -7,7 +7,6 @@ "dist" ], "license": "MIT", - "main": "dist/react-image-annotate.js", "dependencies": { "@emotion/react": "^11.11.4", "@emotion/styled": "^11.11.5", diff --git a/client/src/colors.js b/client/src/colors.js index bf22196..555192d 100644 --- a/client/src/colors.js +++ b/client/src/colors.js @@ -17,7 +17,7 @@ export const colors = [ const transparency = 0x88000000 -function reverseParseColor(rrggbb) { +const reverseParseColor = (rrggbb) => { rrggbb = rrggbb.replace("#", "") const bbggrr = rrggbb.substr(4, 2) + rrggbb.substr(2, 2) + rrggbb.substr(0, 2) return parseInt(bbggrr, 16)