Annotate.cpp
bool Annotate::readFrame(cv::Mat& frame)
{
    if (!cap.read(frame))
    {
    	//std::cout << "End of file." << std::endl;
    	return false;
    }
    else {
    	return true;
    }
}
/**
 * Reads next video frame.
 *
 * @param[out]  frame   stores current frame at this location
 *
 * @return  true if next frame is read, else false
 */
Reads next video frame.
@param[out]  frame   stores current frame at this location

@return  true if next frame is read, else false
Reads next video frame . @param [ out ] frame stores current frame at this location @return true if next frame is read else false
bool Annotate::readFrame(cv::Mat& frame)
{
    if (!cap.read(frame))
    {
    	return false;
    }
    else {
    	return true;
    }
}
bool Annotate :: readFrame ( cv :: Mat & frame ) { if ( ! cap . read ( frame ) ) { return false ; } else { return true ; } }
Reads next video frame.
Reads next video frame .
//std::cout << "End of file." << std::endl;