We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c22e46 commit 2579abaCopy full SHA for 2579aba
1 file changed
src/main/java/io/github/doblon8/openpnp/capture/CaptureStream.java
@@ -64,6 +64,15 @@ public boolean hasNewFrame() {
64
return result == 1;
65
}
66
67
+ /**
68
+ * Get the number of frames captured during the lifetime of the stream.
69
+ *
70
+ * @return the number of frames captured during the lifetime of the stream.
71
+ */
72
+ public int getStreamFrameCount() {
73
+ return Cap_getStreamFrameCount(context.getSegment(), id);
74
+ }
75
+
76
/**
77
* Check if a stream is open, i.e. is capturing data.
78
*
0 commit comments