File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
src/main/java/org/openpnp/capture Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ language: java
22
33install : true
44
5- before_install : ./scripts/download-openpnp-capture.sh v0.0.16
5+ before_install : ./scripts/download-openpnp-capture.sh v0.0.17
66
77script : mvn clean package
88
Original file line number Diff line number Diff line change 33 <modelVersion >4.0.0</modelVersion >
44 <groupId >org.openpnp</groupId >
55 <artifactId >openpnp-capture-java</artifactId >
6- <version >0.0.16 </version >
6+ <version >0.0.17 </version >
77 <properties >
88 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
99 </properties >
Original file line number Diff line number Diff line change @@ -110,8 +110,10 @@ public BufferedImage capture() throws Exception {
110110
111111 return image ;
112112 }
113-
114-
113+
114+ public boolean hasNewFrame () {
115+ return OpenpnpCaptureLibrary .INSTANCE .Cap_hasNewFrame (context , streamId ) == 1 ;
116+ }
115117
116118 @ Override
117119 public String toString () {
You can’t perform that action at this time.
0 commit comments