An open API service indexing awesome lists of open source software.

https://github.com/paulcampbell/reactpicturetagger

:sunrise_over_mountains: A react component for tagging images
https://github.com/paulcampbell/reactpicturetagger

r-cnn reactjs

Last synced: 22 days ago
JSON representation

:sunrise_over_mountains: A react component for tagging images

Awesome Lists containing this project

README

        

# ReactPictureTagger

It's a react component for tagging pictures...

![example screen grab](./demo_gif.gif "Screen Grab")

Could be useful for your data if you're doing something with an r-cnn.

## Try it out

https://paulcampbell.github.io/ReactPictureTagger/

## How to use it

You can check the [example](https://github.com/PaulCampbell/ReactPictureTagger/blob/master/examples/src/index.js).

Basically something like this:

```
import ReactPictureTagger from '../../src'

const App = () => {
const picture = {
imageSrc: './images/muppets.png',
imgAlt: 'Image 1',
tags: [
{ top: 128, left: 5, width: 180, height: 190, name: 'Rizzo' },
]
}

function tagsUpdated(newTags) {
console.log(newTags)
}

return (

)
}
```