Replaced calls to cout from photo module, by CV_Assert

I think CV_Assert should be more adequate