aztec red lines

This commit is contained in:
Henry Schimke
2022-08-17 16:40:14 -05:00
parent ba39b03bb5
commit 1035164fd7
7 changed files with 397 additions and 407 deletions

View File

@@ -2168,7 +2168,8 @@ impl GridSampler for DefaultGridSampler {
*
* @author Sean Owen
*/
pub struct DetectorResult {
/* pub struct DetectorResult {
bits: BitMatrix,
points: Vec<ResultPoint>,
@@ -2190,6 +2191,13 @@ impl DetectorResult {
return self.points;
}
}
*/
pub trait DetectorResult {
//pub fn new(bits: &BitMatrix, points: &Vec<ResultPoint>) -> Self;
pub fn get_bits(&self) -> BitMatrix;
pub fn get_points(&self) -> Vec<ResultPoint>;
}
// ECIEncoderSet.java
/**