Comments (9)
You can use export()
method of the annotator.
https://github.com/kyamagu/js-segment-annotator/blob/master/js/helper/segment-annotator.js#L172
from js-segment-annotator.
Is it like using fabric.js - tojson() instead of todataurl() ?
from js-segment-annotator.
I was able to fetch json ?
But i can only get image : data
is there any additional work needed to be done to fetch
{"name":"bag","color":[255,0,0]}
this data?
from js-segment-annotator.
I am still not able to fetch label/color pair.
Any help will be appreciated
Thanks a lot !!
from js-segment-annotator.
@defaultcute12 You can get colormap
property for colors
https://github.com/kyamagu/js-segment-annotator/blob/master/js/helper/segment-annotator.js#L25
You probably already defined your colormap/labels outside of the annotator. The annotator only keeps integer labels.
https://github.com/kyamagu/js-segment-annotator/blob/master/js/main.js#L28
from js-segment-annotator.
Thanks a lot for the help.
Regards,
Mallu
from js-segment-annotator.
Thanks a lot for all the help.
Can I ask one last question.
Is it possible to get pixels associated with a color in this tool ?
from js-segment-annotator.
Check README. Colormap keeps corresponding colors.
from js-segment-annotator.
Thanks !
from js-segment-annotator.
Related Issues (20)
- the dimension of label picture? HOT 1
- Annotated image are mostly zero pixel value HOT 2
- How to code RGB and index information (8b) HOT 3
- Allow contiguous pixels only in superpixel tool HOT 2
- Possible to update the annotation image after editing? HOT 1
- The Upload image size is limited HOT 2
- Tool crashes on loading Pre-Annotated Images HOT 15
- Support for large images HOT 1
- How to download the annotated image after annotation HOT 1
- How to create one-channel map for output of segmentation tool HOT 1
- Amazon MTurk HOT 3
- Details regarding saved image. HOT 1
- Better annotation display HOT 3
- Erase functionality HOT 10
- The annotation masks disappear when clicked on Next button HOT 5
- Image export HOT 1
- Anyway way to debug when finding boundaries goes wrong? HOT 2
- Brush tool used in the lateral border paints pixels on the other side of the image
- Polygon is difficult to close
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from js-segment-annotator.