jsbroks / coco-annotator Goto Github PK
View Code? Open in Web Editor NEW:pencil2: Web-based image segmentation tool for object detection, localization, and keypoints
License: MIT License
:pencil2: Web-based image segmentation tool for object detection, localization, and keypoints
License: MIT License
In the lastest revision, the path property uses an old directory (/data) that doesn't exist anymore. E.g.:
{
"id":1898,
"path": "/data/datasets/obj1_day6_nov22/rgb105.jpg",
"dataset_id": 19,
"width": 1920,
"height": 1080,
"file_name": "rgb105.jpg",
"annotated": true,
"metadata": {}
}
Related to #14, being able to undo the most previous operation would help speed development a lot, as you wouldn't need to redo the whole object if you make a mistake
I've volume-mounted an existing folder from my host machine which contains multiple datasets.
When I create a dataset (with name matching one of the dataset folders), the UI shows "No images found in directory." A quick shell into the running flask container shows that the /datasets/{dataset_name} folder does indeed contain images.
It seems like perhaps the create_dataset
code should scan the directory for images if the directory already exists--else, those pre-existing images will never be found. I've added PR #48 that makes this use-case work (volume mount existing datasets, create dataset for a pre-existing dataset folder).
What do you think?
Also--thanks for sharing this repo; what you have so far looks great!
A fresh install of the annotator no longer seems to show any images in the annotator area (e.g. http://localhost:5000/annotate/691)
I can create a new dataset and images appear in the main dataset directory, but are not visible once it gets clicked to begin annotating
As mentioned in #23. Being able to set/change custom key bindings.
If new annotation shares pixels with another annotation of the same category, the new annotation should be subtracted from the other (new takes priority).
When running docker-compose on windows mongo fails:
annotator_mongodb exited with code 14
Datasets are not properly getting deleted from the mongodb instance when deleted from the main tool. Steps to reproduce:
mongoengine.errors.NotUniqueError: Tried to save duplicate unique keys (E11000 duplicate key error collection: flask.dataset_model index: name_1 dup key: { : "temp"})
edit: add dataset name "temp"
When you create a new annotation and then click "save", the indicator in the top right corner switches from "working" to "done!". When you click save, and then download the annotations, an empty instance is returned:
e.g: {"id":24,"image_id":5,"category_id":1,"segmentation":[],"area":0,"bbox":[0,0,0,0],"iscrowd":false,"width":799,"height":533,"color":"#c110d4","metadata":{}}
But if you refresh the image after saving, and then save again, it will return the correct annotation.
Generate thumbnail image file that visualizes annotations made on an image.
Thanks @waspinator for helping diagnose the problem.
How come underscores aren't allowed in folder names?
Quick Selection tool to quickly “paint” a selection using an adjustable round brush tip. As you drag, the selection expands outward and automatically finds and follows defined edges in the image.
I have recently use win 10 home and docker tool box to install the coco-annotator.
In development mode, it shows 94% after seal ERROR Failed to compile with 1 errors17:18:57.
and also in production mode, it shows
annotator_flask | Error: 'app/gunicorn_config.py' doesn't exist
How can I do with this problem? Since the app/gunicorn_config.py is already in my folder and its name without extension.
Hiding the right panel distorts the image by forcing the paperjs canvas to match the size of the new frame.
Enhancement: It would be nice if the stroke color defaulted to whatever color shows up with maximum contrast to the image.
Notifications for mostly sync operations (Async are generally handled through the navbar).
When hovering over an annotation on the image, display any relevant information (metadata, date created, created by a user, etc.)
Add image navigation tools inside of the editor to go to the next or previous image in the dataset.
Feature request: It would be nice to allow the workflow of pre-defining a bunch of categories and pre-existing datasets on startup.
I my envisioned use-case, I would volume-mount an existing datasets folder, provide some sort of manifest file containing all the categories that should exist, and a list of datasets that should be automatically created/imported (or maybe just create datasets for all the top-level directories under the /datasets
folder).
This would allow me to easily migrate from other existing annotation tools to coco-annotator with minimal effort.
To stretch this a bit further, it would be nice if coco-annotator could also automatically import annotations created by these other tools (VOC format, YOLO format, etc.)
Once the generate dataset is called once, the file watcher does not load any more images from the folder.
When zoomed in on an object while annotating, sometimes the whole object is not in view. Thus, in order to annotate the full object, we're currently required to re-center it, and then zoom in again if needed.
An option to pan (e.g. by pressing the wheel button) would be helpful to avoid this.
(Come to think of it, a config file for "keybinds" could also be really useful)
Support for exporting in Pascal VOC format (example)
Thanks for your open project coco-annotator in github.
I have one question here.
(OS: Linux version 4.15.0-29-generic (buildd@lgw01-amd64-057) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #31-Ubuntu SMP Tue Jul 17 15:39:52 UTC 2018 )
How to import image to a newly created dataset?
What I did is followed:
1.put several images under directory "./data/datasets/test"
2.create one dataset named "test"
But it seems not working. Always showing "No images in dataset".
Need your help here.
after deleting a category, it's not possible to add it back again. It looks like the deleted category's database "delete" attribute is set to "true", but the create logic treats it as already existing.
Not sure why this happens, but occasionally while annotating an image, the tool gets stuck on "saving data ...", which may prevent it from saving the most recent annotations
Enhancement: it would be helpful if all of the annotations on an image are visible by default when entering an image.
Additionally, perhaps show/hide all buttons might be useful.
If not enough points are adding while using the polygon tool, the resulting shape may not fit the desired one. In order to fix this, a new algorithm would have to be developed that simplifies the path without smoothening it.
When the "save" button is clicked (or ctrl+s is used), the tool currently resets from whatever it previously was to the default "pointer".
This is a bit of an inconvenience for example when you've finished annotating one object in the image, and want to save the intermediate result. If you want to continue annotating the image, you need to re-enable the wand or polygon tool
Add filtering options to each viewer to find models by features (name, folder, data, etc..)
Enhancement: it would be useful if coco-annotator allowed automatic creation of a list of categories at dataset creation time, such that any categories typed into the free-form list would be created if they do not already exist.
Feature Request: It would be helpful if there were a capability to propagate all of the annotations on the current image to the next or previous image.
When annotating images that come from frames of a video sequence, often many of the annotations remain static from one frame to the next, with only a few annotations changing for objects that have moved.
Perhaps there could be some additional buttons next to the arrows in the upper right of the Annotator view which would trigger this functionality.
I had some slight difficulty getting started with the tool, as a few things were ambiguous. Maybe consider adding a few more detailed steps? For example, had to figure out that:
A simple enhancement could be to provide these steps as (for example) a right-hand panel on the main screen, or as a "reminder" bubble that pops up when creating a dataset
Take height and width parameters of the image for it to be resized.
Feature Request: based on idea mentioned in #52 , it would be helpful if there was an auto-match
setting for annotations such that, when a new annotation is added, a background process automatically compared the annotated image patch with other images in the dataset, and if the patch was "the same"(within some tolerance), the annotation would be automatically cloned to that image.
Note that this feature is only really useful for datasets created from video sequences.
When you're in the middle of drawing a polygon and click "delete", the line stays visible as it waits for you to complete a polygon.
Instead, the current polygon should disappear and be reset
Trying to run coco-annotator in Windows. I create a dataset, and put images to datasets/dataset_name
No result. Generate
works fine.
To accommodate object recognition (in contrast to segmentation or detection), images need to have the option to have categories without annotations. This can be represented as a list of category ids.
image {
"id": int,
"width": int,
"height": int,
"file_name": str,
"license": int,
"flickr_url": str,
"coco_url": str,
"date_captured": datetime,
**"category_ids": [int]**
}
Throws errors and won't load data if the value to a key in metadata is null.
Holy cow am I happy there's an "undo" feature.
There should definitely be an "Are you sure?" button before even the soft delete
RGBA images throw an error when trying to get from api.
Support of adding custom metadata to Image, Annotation, Category models in the settings modal.
Admin
Owner
User
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.