Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: images update

...

Widget Connector
overlayyoutube
_templatecom/atlassian/confluence/extra/widgetconnector/templates/youtube.vm
width680px
urlhttps://www.youtube.com/watch?v=zaPSBUw91Os&feature=youtu.be
height400px

Training

Annotations

First, annotate defects in the image - the The size of the annotation should be just enough to fit the whole defect without too much excess background (especially when the background is very variable). You can draw rectangles by hand or you can double-click with the left or right mouse and the rectangle will be added automatically.

To delete an annotation, you can press ‘Delete' Delete or 'Backspace’ Backspace when the annotation is selected. If ‘Classify’ Classify is enabled, you can assign a class to each annotated defect - similarly as in the Classifier module. Then you can start the training.

...

Feature size

During annotations it is important to find the ideal feature size. This value determines the size of the defects the model is able to reliably find. To find out more, open the following page Feature Size

Info

Very small feature size on big defects is allowed but not ideal for performance and reliability.

...

Wrong feature size can make certain rectangles invalid. If such a thing occurs PEKAT is going to notify you before the training with possible solutions.

...

Include

In case your dataset contains empty images or images with no defects, it is possible to add them into training with the Include button.

This way the model learns how empty images look and therefore it should improve detection accuracy.

...

Auto-annotations

To speed up the annotation process, there is a possibility to train a model on a small number of annotations first and then use the predictions of this model to quickly make more annotations for further training.

...

Clicking Set annotations will automatically set annotations for all the detected rectangles in the selected image.

...

It is possible to edit these auto-annotations afterward if we want to make them more precise. We can also , add more annotations, delete them if some of them are wrong, or change their classes if Classify is enabled, the same as with normal annotations.

After auto-annotating enough images, we can start another training, which should offer better results than the

...

initial training with less annotations.

Classify

This adds the option to classify the object into one of the classes. If the classification is enabled, each marked object needs a class to be assigned to it. Class management is the same as in classifier and the annotations change color based on the assigned class for better visibility.

...

For more details visit Classifier. This can also be achieved by combining Detector and Classifier as separate modules as described in the video below. However, classifying objects directly in the Detector detector is easier and faster.

Widget Connector
overlayyoutube
_templatecom/atlassian/confluence/extra/widgetconnector/templates/youtube.vm
width680px
urlhttps://www.youtube.com/watch?v=gECGC6BTM08
height400px

...