I want to store Mat object values in Rect object. To do that I tried to create MatOfRect object with Mat Object values. But it throws an Exception saying Incompatible Mat and then app stops. Can anybody help me to solve this?What am I doing wrong?
↧