detect

Detects a rectangular region of black and white -- mostly black -- with a region of mostly white, in an image.

Return

ResultPoint array describing the corners of the rectangular region. The first and last points are opposed on the diagonal, as are the second and third. The first point will be the topmost point and the last, the bottommost. The second point will be leftmost and the third, the rightmost

Throws

if no Data Matrix Code can be found