|
Bartosz Firyn (SarXos) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.github.sarxos.webcam.WebcamUpdater
public class WebcamUpdater
The goal of webcam updater class is to update image in parallel, so all calls to fetch image invoked on webcam instance will be non-blocking (will return immediately).
| Method Summary | |
|---|---|
double |
getFPS()
Return current FPS number. |
BufferedImage |
getImage()
Return currently available image. |
Thread |
newThread(Runnable r)
|
void |
run()
|
void |
start()
Start updater. |
void |
stop()
Stop updater. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void start()
public void stop()
public void run()
run in interface Runnablepublic BufferedImage getImage()
public double getFPS()
public Thread newThread(Runnable r)
newThread in interface ThreadFactory
|
Bartosz Firyn (SarXos) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||