I'm having an issue with OpenCV (Assertion Failure) as the image is being loaded as CV_8U when it should be loaded as CV_32F.
So how can i convert from CV_8U to CV_32F?
Many Thanks.
Using convertTo
input.convertTo(output, CV_32F)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With