Skip to content

Commit 7753077

Browse files
Merge pull request #1 from team3042/add-line-cache-getters
Add Line Tracking Getters
2 parents 5c7f12d + a4397c6 commit 7753077

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

src/main/java/io/github/pseudoresonance/pixy2api/Pixy2Line.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,33 @@ else if (!wait) // we're busy
179179
}
180180
}
181181

182+
/**
183+
* Gets detected lines from cache
184+
*
185+
* @return Pixy2 Lines
186+
*/
187+
public Vector[] getVectors() {
188+
return vectors;
189+
}
190+
191+
/**
192+
* Gets detected intersections from cache
193+
*
194+
* @return Pixy2 Intersectionss
195+
*/
196+
public Intersection[] getIntersections() {
197+
return intersections;
198+
}
199+
200+
/**
201+
* Gets detected barcodes from cache
202+
*
203+
* @return Pixy2 Barcodes
204+
*/
205+
public Barcode[] getBarcodes() {
206+
return barcodes;
207+
}
208+
182209
/**
183210
* Sets Pixy2 line tracking mode
184211
*

0 commit comments

Comments
 (0)