Annotate.cpp
bool Annotate::openVideo()
{
    // open video
    cap.open(vidPath);
    // check if we succeeded
    if (!cap.isOpened())
    { 
    	std::cout << "Could not open video." << std::endl;
    	return false;
    }
    else
    {
    	//std::cout << "Video opened." << std::endl;
    	return true;
    }
}
/**
 * Open videos located at videoPath.
 *
 * @return  true if the video is opened, else false
 */
Open videos located at videoPath.
@return  true if the video is opened, else false
Open videos located at videoPath . @return true if the video is opened else false
bool Annotate::openVideo()
{
    cap.open(vidPath);
    if (!cap.isOpened())
    { 
    	std::cout << "Could not open video." << std::endl;
    	return false;
    }
    else
    {
    	return true;
    }
}
bool Annotate :: openVideo ( ) { cap . open ( vidPath ) ; if ( ! cap . isOpened ( ) ) { std :: cout << " " << std :: endl ; return false ; } else { return true ; } }
Open videos located at videoPath.
Open videos located at videoPath .
// open video // check if we succeeded //std::cout << "Video opened." << std::endl;