private boolean isReady ( ) { assert disposed != null ; assert open != null ; if ( disposed . get ( ) ) { LOG . warn ( "Cannot get image, webcam has been already disposed" ) ; return false ; } if ( ! open . get ( ) ) { if ( autoOpen ) { open ( ) ; } else { return false ; } } return true ; }
Is webcam ready to be read .