You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The best image/video annotation tool ever. [Check out the demo here](https://universaldatatool.github.io/react-image-annotate/). Or the [code sandbox here](https://codesandbox.io/s/react-image-annotate-example-38tsc?file=/src/App.js:0-403).
5
+
Fork of react-image-annotate - The best image/video annotation tool
6
+
ever. [Check out the demo here](https://universaldatatool.github.io/react-image-annotate/). Or
7
+
the [code sandbox here](https://codesandbox.io/s/react-image-annotate-example-38tsc?file=/src/App.js:0-403).
|`taskDescription`|\*`string`| Markdown description for what to do in the image. ||
62
-
|`allowedArea`|`{ x: number, y: number, w: number, h: number }`| Area that is available for annotation. | Entire image. |
63
-
|`regionTagList`|`Array<string>`| Allowed "tags" (mutually inclusive classifications) for regions. ||
64
-
|`regionClsList`|`Array<string>`| Allowed "classes" (mutually exclusive classifications) for regions. ||
65
-
|`imageTagList`|`Array<string>`| Allowed tags for entire image. ||
66
-
|`imageClsList`|`Array<string>`| Allowed classes for entire image. ||
67
-
|`enabledTools`|`Array<string>`| Tools allowed to be used. e.g. "select", "create-point", "create-box", "create-polygon" | Everything. |
68
-
|`showTags`|`boolean`| Show tags and allow tags on regions. |`true`|
69
-
|`selectedImage`|`string`| URL of initially selected image. ||
70
-
|`images`|`Array<Image>`| Array of images to load into annotator ||
71
-
|`showPointDistances`|`boolean`| Show distances between points. |`false`|
72
-
|`pointDistancePrecision`|`number`| Precision on displayed points (e.g. 3 => 0.123) ||
73
-
|`onExit`|`MainLayoutState => any`| Called when "Save" is called. ||
74
-
|`RegionEditLabel`|`Node`| React Node overriding the form to update the region (see [`RegionLabel`](https://github.com/waoai/react-image-annotate/blob/master/src/RegionLabel/index.js)) ||
75
-
|`allowComments`|`boolean`| Show a textarea to add comments on each annotation. |`false`|
76
-
|`hidePrev`|`boolean`| Hide `Previous Image` button from the header bar. |`false`|
77
-
|`hideNext`|`boolean`| Hide `Next Image` button from the header bar. |`false`|
78
-
|`hideClone`|`boolean`| Hide `Clone` button from the header bar. |`false`|
79
-
|`hideSettings`|`boolean`| Hide `Settings` button from the header bar. |`false`|
80
-
|`hideFullScreen`|`boolean`| Hide `FullScreen/Window` button from the header bar. |`false`|
81
-
|`hideSave`|`boolean`| Hide `Save` button from the header bar. |`false`|
|`taskDescription`|\*`string`| Markdown description for what to do in the image. ||
65
+
|`allowedArea`|`{ x: number, y: number, w: number, h: number }`| Area that is available for annotation. | Entire image. |
66
+
|`regionTagList`|`Array<string>`| Allowed "tags" (mutually inclusive classifications) for regions. ||
67
+
|`regionClsList`|`Array<string>`| Allowed "classes" (mutually exclusive classifications) for regions. ||
68
+
|`imageTagList`|`Array<string>`| Allowed tags for entire image. ||
69
+
|`imageClsList`|`Array<string>`| Allowed classes for entire image. ||
70
+
|`enabledTools`|`Array<string>`| Tools allowed to be used. e.g. "select", "create-point", "create-box", "create-polygon" | Everything. |
71
+
|`showTags`|`boolean`| Show tags and allow tags on regions. |`true`|
72
+
|`selectedImage`|`string`| URL of initially selected image. ||
73
+
|`images`|`Array<Image>`| Array of images to load into annotator ||
74
+
|`showPointDistances`|`boolean`| Show distances between points. |`false`|
75
+
|`pointDistancePrecision`|`number`| Precision on displayed points (e.g. 3 => 0.123) ||
76
+
|`onExit`|`MainLayoutState => any`| Called when "Save" is called. ||
77
+
|`RegionEditLabel`|`Node`| React Node overriding the form to update the region (see [`RegionLabel`](https://github.com/waoai/react-image-annotate/blob/master/src/RegionLabel/index.js)) ||
78
+
|`allowComments`|`boolean`| Show a textarea to add comments on each annotation. |`false`|
79
+
|`hidePrev`|`boolean`| Hide `Previous Image` button from the header bar. |`false`|
80
+
|`hideNext`|`boolean`| Hide `Next Image` button from the header bar. |`false`|
81
+
|`hideClone`|`boolean`| Hide `Clone` button from the header bar. |`false`|
82
+
|`hideSettings`|`boolean`| Hide `Settings` button from the header bar. |`false`|
83
+
|`hideFullScreen`|`boolean`| Hide `FullScreen/Window` button from the header bar. |`false`|
84
+
|`hideSave`|`boolean`| Hide `Save` button from the header bar. |`false`|
82
85
83
86
## Developers
84
87
85
88
### Development
86
89
87
-
This project uses [react-storybook](https://storybook.js.org/). To begin developing run the following commands in the cloned repo.
90
+
This project uses [react-storybook](https://storybook.js.org/). To begin developing run the following commands in the
91
+
cloned repo.
88
92
89
93
1.`yarn install`
90
-
2.`yarn storybook`
94
+
2.`yarn add react react-dom`
95
+
3. For production build need remove `react` and `react-dom` from `peerDependencies` in `package.json` and
96
+
run `yarn install` again - it fix the issue with `react` and `react-dom` versions.
91
97
92
98
A browser tab will automatically open with the project components.
93
99
94
-
See more details in the [contributing guidelines](https://github.com/waoai/react-image-annotate/wiki/Setup-for-Development).
100
+
See more details in
101
+
the [contributing guidelines](https://github.com/waoai/react-image-annotate/wiki/Setup-for-Development).
0 commit comments