# Image Management

The collection of an image database The set of images used to train and test your vision application. is one of the most important steps to any machine vision project In OneVision, a project is a collection of images and vision tools that performs different tasks, such as inspection, measurement, or identification.. Use the image database to train and configure tools and verify that the project successfully meets the requirements. The image management page provides features to support the collection and categorization of images. You can navigate to the image management page by opening a project and clicking the Input Image The set of images used to train and test your vision application. node of the toolchain Contains a group of tools and the sequence of execution for each tool..

As you create your OneVision application, use the Input Image stage to configure a number of image-related parameters:

- Add and manage images you want to use to train your machine-learning vision tools.

- Tag selected images with specific identifiers for use in training.

Note: After adding new images, you have to reprocess each tool in the toolchain.

Number | State
1 | Click Add Image to upload new images.
2 | Click Tags to add already existing or new tags to the selected images.
3 | Click Delete to delete the selected images.
4 | Click More to adjust your display options.
5 | Left: overall number of images in the image database. Right: number of selected images.
6 | Click on the icons to switch between grid and list view.
7 | Filter images by name, tags, and other parameters.
8 | Grid view of images.
9 | Selected images.
10 | Select or deselect all images.

How to import images

To import existing graphic files into the image databaseThe set of images used to train and test your vision application.:

1. Double-click on the projectIn OneVision, a project is a collection of images and vision tools that performs different tasks, such as inspection, measurement, or identification. to access its ToolchainContains a group of tools and the sequence of execution for each tool..

   A new OneVision project contains a single element for Input ImageThe set of images used to train and test your vision application.:

2. Click Input Image.

3. Click Add Image.

   The following options appear for uploading image files:

4. Drag and drop various image files to the application or browse by files or folder:

   - Browse Files allows you to select one or more files in a selected folder.

   - Browse Folder allows you to select a folder and upload all the images it contains.

   The application displays the images you upload but does not automatically add them to the project:

5. Click Save uploaded images to add the current set of uploaded images to your project:

Saved images appear in your OneVision project:

How to delete images

To delete images:

1. Double-click on the projectIn OneVision, a project is a collection of images and vision tools that performs different tasks, such as inspection, measurement, or identification. to access its ToolchainContains a group of tools and the sequence of execution for each tool..

2. Click Input Image. The project displays all saved images.

3. Select individual images you want to delete from the project, or check the indicated box to select all images:

4. Click Delete.

How to create tags

A tag is a specific identifier applied to an image, which appears as alpha-numeric symbol on the image thumbnail. Use tags to filter the viewable images. Filtering by tags helps facilitate organization, retrieval, and understanding of images in the image databaseThe set of images used to train and test your vision application..

To create a tag:

1. Select an image.

2. Click Tags to open the tag options and click the + button.

3. Enter the Tag Name and select a Tag Color.

4. Click Add.

Note: A tag is only applied to an image, not to a viewThe area of the image that the device operates on is called a view. A view can be the entire image, a user-defined rectangular area of the image, or the output of a tool, depending on the tool..
How to add tags to images

To add tags to images:

1. After creating the tags, select one or more tags you want to apply to your selected image. The tag is automatically applied when you select the checkbox.

2. Click away or press Esc to close the options. The tags appear as alpha-numeric markers on the image thumbnail.

3. To add a tag to multiple images, select each image and click Tags.

How to filter images by tag

After you create and apply tags to images, you can filter your images by tag.

On the Input ImageThe set of images used to train and test your vision application. page, click Tag and select the tags to filter with.

Within each tool, you can also use the Tag option to filter the image list.

What shortcuts to use

Keys | Result
Space bar | Toggle between selecting and deselecting the highlighted image or images.
Arrow keys | Move which image is selected in the direction of the arrow key.
SHIFT + left-click | Select all the images between the starting image and the last image you click on.
SHIFT + arrow keys | Select a continuous sequence of images in the direction of the arrow key.
CTRL + left-click | Select all the images you click on.
CTRL + arrow keys | Move the image selection highlight in the direction of the arrow key.
CTRL + SHIFT + arrow keys | Highlight a continuous sequence of images in the direction of the arrow key.
CTRL + A | Select all images.