-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tile Images and Annotations for large images #36
Comments
Hi, there is no such function yet, but it is an interesting feature request. If you have an opportunity, you can try to implement it yourself - it would be a |
@zhiltsov-max Hi, I think that the user should have control over how they want the tiling/slicing to be done, so they can either chose (n_rows, n_columns) or (tile height, width), with an overlap size of 0 to 500+. Once the tiling of images and all annotations are performed then the function outputs a newly annotated dataset. |
@davodogster , @zhiltsov-max , you can find a nice discussion of the problem here: cvat-ai/cvat#531. I think that Datumaro should not tile an image (at least as next step). At the same time it should be able to work with such images (e.g. extract crops with objects, import/export datasets with big images, etc). Let's keep the issue in backlog. |
@nmanovic cvat#531 No my problem isn't loading large images into cvat. The problem is that it would be nice to tile the images and corresponding annotations after they have been annotated to increase the size of the dataset to split into train/val/test, and it also means that image resolution can be preserved so we can train on the full resolution after tiling and don't need to downsample the resolution. |
@davodogster I have run into the same problem. Have you been able to figure it out? |
I also have the same problem. Is there an implementation? |
@michaelSkaro, not yet. Probably, we need better understanding about how this feature should be designed. If possible, could you tell us more about your use case and possible solutions you see? |
I'd love to see a functionality like this in CVAT: https://github.com/nagi1995/yolo-tiling/blob/main/tile_yolo.py I have a dataset with highres images with few small objects. I want to tile every image to get rid of the image parts without bounding boxes but keep the original files. |
A common problem for researchers is having large images with lots of small objects. Is there a function in datumaro to tile images (overlapping option possible, min_visibility option possible) into specified dimensions and the corresponding masks, bounding boxes, and polygons also get tiled, with images renamed with their original coordinates. If not, then it would be great to have this functionality.
Cheers, Sam
The text was updated successfully, but these errors were encountered: