public final class Detector
extends java.lang.Object
Encapsulates logic that can detect a Data Matrix Code in an image, even if the Data Matrix Code is rotated or skewed, or partially obscured.
public Detector(BitMatrix image) throws NotFoundException
public DetectorResult detect() throws NotFoundException
Detects a Data Matrix Code in an image.
DetectorResult
encapsulating results of detecting a Data Matrix CodeNotFoundException
- if no Data Matrix Code can be found