From OpenCV 1 to OpenCV 2/3 there is an additional array wrapping each of the feature points. So in OpenCV 1 two feature points of [20, 40] and [30,50] would have been returned as
[
[20,40],
[30, 50]
]
With the switch to numpy they were being returned as
[
[
[20,40]
],
[
[30, 50]
]
]
Added tests to verify the values of the features/facial points to catch this in the future.
From OpenCV 1 to OpenCV 2/3 there is an additional array wrapping each of the feature points. So in OpenCV 1 two feature points of [20, 40] and [30,50] would have been returned as
With the switch to numpy they were being returned as
Added tests to verify the values of the features/facial points to catch this in the future.