Converting Dimensions of Data

Hello,

I am using the following:

  • Mech-Vision 2.1.2
  • Calc Results by Python

Shown in the images below is the section of my program where I am using one Calc Results by Python step to output NumberList;NumberList;BoolList to another Calc Results by Python inputs of Image;Image;NumberList;NumberList;BoolList (as shown below):


Sample of the data being passed:

When I do that, Mech-Vision throws the error shown below:

NOTE: The python steps called “Image_Flip” and “Image_Flip_And_Annotation” are the same step, I just changed the name between taking the screenshots.

My question is:

  • How do I convert the dimension from 1 to 0 manually?

You can use step “unpack and merge data” to convert the dimension, or you can convert the dimension in your python script.

more info about step “unpack and merge data”, please refer to:
https://docs.mech-mind.net/en/suite-software-manual/latest/vision-steps/unpack-and-merge-data.html#