Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mathieudutour/autodraw
:art: Autodraw API wrapper
https://github.com/mathieudutour/autodraw
api autodraw wrapper
Last synced: 16 days ago
JSON representation
:art: Autodraw API wrapper
- Host: GitHub
- URL: https://github.com/mathieudutour/autodraw
- Owner: mathieudutour
- Created: 2017-04-15T22:36:40.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-04-15T23:33:33.000Z (over 7 years ago)
- Last Synced: 2024-10-17T16:15:26.739Z (26 days ago)
- Topics: api, autodraw, wrapper
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 39
- Watchers: 5
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Autodraw API wrapper
## Installation
```
npm install --save autodraw
```## Usage
```js
const autodraw = require('autodraw')const shape1 = [
{
x: 10,
y: 5
},
{
x: 40,
y: 10
}
]const shapes = [
shape1
]autodraw(shapes).then(results => {
/* array of recognized objects:
* [{
* name,
* confidence (closer to 0 == more confident),
* url (url to a svg representing the object),
* url_variant_1,
* url_variant_2
* }]
*/
})
```## Licence
MIT
## Credits
A.I. Powerhouse provided by autodraw.com and A.I. Experiments by Google.
This project is just a small wrapper to use the experiment programmatically.