Method | Description | |
---|---|---|
ProcessImage ( String filename, int shotsFired, int pixelsPerRadius, int ROIx, int ROIy, int ROIheight, int ROIwidth ) : List |
Performs image recognition on an image returning a list of points where possible bullet holes are located.
|
|
TestImageRecognition ( ) : void |
Tests the image recognition module.
|
public static ProcessImage ( String filename, int shotsFired, int pixelsPerRadius, int ROIx, int ROIy, int ROIheight, int ROIwidth ) : List |
||
filename | String | The filename of the image. |
shotsFired | int | The number of bullet holes to look for. |
pixelsPerRadius | int | The approximate number of pixels per radius of a bullet hole. |
ROIx | int | The x-coordinate of the top left corner of the region of interest. |
ROIy | int | The y-coordinate of the top left corner of the region of interest. |
ROIheight | int | The height in pixels of the region of interest. |
ROIwidth | int | The width in pixels of the region of interest. |
return | List |
public static TestImageRecognition ( ) : void | ||
return | void |