Start image injection command
Retrieves an image from the repository. Perfecto supplies this image to the specified application when the application tries to retrieve a camera image. The application must have been installed with sensor instrumentation.
To use this command, one of the two application identifiers is required. For information on retrieving the application identifier, see Application identifier.
Image injection continues for this application until activating the Stop Image Injection function.
Parameters
Name | Type | Possible values | Description |
---|---|---|---|
Device ID* |
Device |
The device for this command. |
|
Image* |
Media |
The full repository path, including directory and file name, where to locate the image. Supported image formats: jpeg, jpg, png, bmp Example: To view the device file system, log in to Perfecto and use the File Transfer option. |
|
Adjustment |
Number |
1-200 |
Use if the injection process fails to locate the image frame. This parameter reduces the image size to create blank space around the image, which in turn enables the injection process to locate the image frame and scan the code. For more information, see also Image injection with adjustment. |
Resize image |
String |
True | False |
Specifies if the image can be resized. True by default. |
Application name |
String |
The display name of the application |
|
Application identifier |
String |
The identifier (BundleID for iOS or PackageName for Android) of the application. |
|
Comment |
String |
Adds a comment to the script |
|
On-fail Result* |
Condition |
Ignore | Break | Continue | Abort | Catch |
The behavior when the command fails. |
* Mandatory parameter