Up | Setup | Constraints | Statistics | Visualisation | Results | Commands | Shortcuts | Examples | Applications | Release Notes

 

  

 
Commands

  ExecuteCmd support (see also executeCmd)
 

Command

Parameters

Return values

Comments

Set Object=ROI;Value=<polygon/point> ok,None Sets the tool's ROI. See Copy/paste ROIs for details.
Get Object=ROI ok,<polygon> Current ROI as tool's baseline
Set Object=Template;Name=<name>;
Value=<polygon>
ok,None Creates or replaces named template. The polygon defines the template's position in the image -- must be within the ROI. See also example 1.
Set Object=Template;Index=<index>;
Value=<polygon>
ok,None Replaces numbered template (indexed from 1; if number is too large, a new template is created). The polygon defines the template's position in the image -- must be within the ROI.
Set Object=Template;Name=<name>;
Active=0|1[;Unique=0|1]
ok,None Activates/deactivates named template(s). See also examples 2 and 3.
Get Object=Templatecount ok,<count> Number of defined templates
Get Object=Templatenames ok,<names> All template names as a Python tuple
Get Object=Active ok,<flags> All template active flags (0/1) as a Python tuple
Delete Object=template;Name=<name> ok,None Deletes named template
DeleteAll - ok,None Deletes all templates
Load Object=Templatefile;Name=<name> ok,None Loads new template file
Save Object=Templatefile;Name=<name> ok,None Saves template file

 

 

Scorpion Vision Version XII : Build 646 - Date: 20170225
Scorpion Vision Software® is a registered trademark of Tordivel AS.
Copyright © 2000 - 2017 Tordivel AS.