# Tool Result Structures

If you export a OneVision project In OneVision, a project is a collection of images and vision tools that performs different tasks, such as inspection, measurement, or identification. to Spreadsheet using the Toolchain Contains a group of tools and the sequence of execution for each tool. function, the Toolchain function automatically inserts a set of default result cells into Spreadsheet for each tool in the OneVision project. You can also use the Get and GetProperty functions in Spreadsheet to extract additional result data from the tools by referencing the first Array cell of the tool result structure.

The following figure shows an example tool result output:

By default, the result output for each tool contains the following result cells:

- An Array containing the full result data of the tool

- The number of views that the tool processed

- The processing time for the tool

Additionally, the default result structure for each tool contains an index and Object for each input view and each output view, an Array for each input view containing the full output view results, and tool-specific result cells that use the Get and GetProperty functions to extract result data.

You can also extract additional results using the Get and GetProperty functions. For more information, see Get and GetProperty.

The Toolchain function contains the complete JSON result structure for the OneVision project, with an Object containing the results of each tool. Open the property sheet for the Toolchain function to view the complete JSON result structure, or open the property sheet for the first Array in the default result cells for a tool to view the result structure for that tool.

Expand the following dropdown menus for a description of the JSON result structure for each tool:

Pattern Tool Result Structure

Element | Description
--- | ---
1 | An Object containing the complete Pattern tool result structure.
2 | An Array of Objects for each processed view.
3 | An Object containing the tool results for an individual view.
4 | The overall processing time for the Pattern tool.
5 | An Array of Objects containing values for each pose found in the individual view, including processing time for the view.
6 | An Object containing Region of Interest The Region of Interest (ROI) is the area of the image where the vision tool operates. values for the individual view.

Locator Tool Result Structure

Element | Description
--- | ---
1 | An Object containing the complete Locator tool result structure.
2 | An Array of Objects for each processed view.
3 | An Object containing the tool results for an individual view.
4 | The overall processing time for the Locator tool.
5 | An Array of Objects called boxes containing positional values for each located feature in the individual view. Note: Boxes contain the same positional result data as poses. The purpose of this duplication is to ensure that all Spreadsheet functions can use the Locator tool results.
6 | An Array of Objects called poses containing positional values for each located feature in the individual view, including processing time for the view. Note: Poses contain the same positional result data as boxes. The purpose of this duplication is to ensure that all Spreadsheet functions can use the Locator tool results.
7 | An Object containing Region of Interest values for the individual view.

Segmenter Tool Result Structure

Element | Description
--- | ---
1 | An Object containing the complete Segmenter tool result structure.
2 | An Array of Objects for each processed view.
3 | An Object containing the tool results for an individual view.
4 | The overall processing time for the Segmenter tool.
5 | The average pixel confidence of the Segmenter tool for the individual view.
6 | An Array of Objects containing values for each blob generated by the Segmenter tool.
7 | The processing time for the individual view.
8 | An Object containing Region of Interest values for the individual view.

Classifier Tool Result Structure

Element | Description
--- | ---
1 | An Object containing the complete Classifier tool result structure.
2 | An Array of Objects for each processed view.
3 | An Object containing the tool results for an individual view.
4 | The overall processing time for the Classifier tool.
5 | The processing time for the individual view.
6 | An Object containing Region of Interest values for the individual view.
7 | An Array of Objects for each configured class in the Classifier tool, with corresponding class score results for the individual view.