Skip to content
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

Augmentation of Annotated Images #2679

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11,105 changes: 11,105 additions & 0 deletions 1_image_annotations/image_annotator.html

Large diffs are not rendered by default.

50 changes: 50 additions & 0 deletions 1_image_annotations/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Image Annotations Readme.
<br>

Image Annotations is the most complicated tasks for a data-scientist, your whole ml/dl pipelines depends on your data and you have to carefully annotate all the images so that your model will be accurate enough to deploy for real-life use. So, their are some visual gifs which will help you out in learning making your own annotations.

<br> <br>

### 1. Sort Images:
First of we have to sort images, remove all the unwanted images best option to remove unwanted images is to remove all the images which you are not able to classify or see a certain object which you want to annotate.

<br> <br>


### 2. Load Images
Load images into [via_image_annotator](image_annotator.html). Go to the load option on the left side of the page and load images, you just sorted

![Load Images](./videos/add_images.gif)

<br> <br>

### 3. Setup Labels

Setup your labels (objects you want to annotate), In the left vertical tab you can see attributes tab, press the tab and fill up the region attributes form. I hard-coded the region attribute as (class) so name it class only, select the type (checkbox , dropdown, text, radio)etc depends on your problem. I prefer to use checkbox, than you have to add object names which you want to annotate, first object will always be empty class, (Read mrcnn-aglo to understand this)

![Setup Labels](./videos/setting_up_labels.gif)

<br> <br>

### 4. Annotate Images

Now you have to annotate images, you can use, rectangle, polygon, polyline, circle etc according to your problem. In this git we made all the things according to the polygons. Will add rectangle later.

![Setup Labels](./videos/annotations.gif)

<br> <br>

### 5. Save your annotations

After all of the annotation you have to save annotation file. Save your project, Go to the project dropdown at the top-bar and in the last you can see save button press the button and click ok your project will be saved. You can also export your annotations in csv, json, yml etc.

![Setup Labels](./videos/saving_annotations.gif)


# Author

* Sohaib Anwaar
* gmail : sohaibanwaar36@gmail.com
* linkedin : [Have Some Professional Talk here](https://www.linkedin.com/in/sohaib-anwaar-4b7ba1187/)
* Stack Overflow : [Get my help Here](https://stackoverflow.com/users/7959545/sohaib-anwaar)
* Kaggle : [View my master-pieces here](https://www.kaggle.com/sohaibanwaar1203)
Binary file added 1_image_annotations/videos/add_images.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 1_image_annotations/videos/annotations.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 1_image_annotations/videos/saving_annotations.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 1_image_annotations/videos/setting_up_labels.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 2_image_augmentation/extras/1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 2_image_augmentation/extras/2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 2_image_augmentation/extras/3.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.