class Detect extendsLaserpointsScript

Wrapper for the manual laser points detection script.

Methods

array
exec(string$command)

Execute a laser point detection command.

array
execute(string$imageUrl,float$distance,string$points)

Execute a new manual laser point detection.

Details

array exec(string$command)

Execute a laser point detection command.

Parameters

string $command Command to execute

Return Value

array The JSON object returned by the detection script as array

Exceptions

Exception If the detection script crashed.

at line20
array execute(string$imageUrl,float$distance,string$points)

Execute a new manual laser point detection.

Parameters

string $imageUrl Absolute path to the image file to detect laserpoints on
float $distance Distance of the laser points in cm
string $points Coordinates of all manually annotated laser points on the image as JSON encoded string (like '[[100,100],[200,200]]')

Return Value

array The JSON object returned by the detect script as array

Exceptions

Exception If the detection script crashed.