Orange: Import Images

From OnnoWiki
Revision as of 05:15, 20 January 2020 by Onnowpurbo (talk | contribs) (Created page with "Sumber: https://orange.biolab.si/widget-catalog/image-analytics/importimages/ Import Images Import images from a directory(s). Outputs Data: Dataset describing one i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sumber: https://orange.biolab.si/widget-catalog/image-analytics/importimages/


Import Images

Import images from a directory(s).

Outputs

   Data: Dataset describing one image in each row.

Import Images walks through a directory and returs one row per located image. Columns include image name, path to image, width, height and image size. Column with image path is later used as an attribute for image visualization and embedding.

   Currently loaded folder.
   Select the folder to load.
   Click Reload to update imported images.
   Information on the input.
   Access help.

You can load a folder containing subfolders. In this case Orange will consider each folder as a class value. In the example above, Import Images loaded 26 images belonging to two categories. These two categories will be used as class values. Example

Import Images is likely the first widget you will use in image analysis. It loads images and creates class values from folders. In this example we used Import Images to load 26 painting belonging to either Monet or Manet.

We can observe the result in a Data Table. See how Orange added an extra class attribute with values Monet and Manet?

Now we can proceed with standard machine learning methods. We will send images to Image Embedding, where we will use Painters embedder to retrieve image vectors.

Then we will use Test & Score and Logistic Regression, to build a model for predicting the author of a painting. We get a perfect score? How come? It turns out, these were the images the Painters embedder was trained on, so a high accuracy is expected.




Referensi

Pranala Menarik