Second clock read project using opencv