Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 1117

Convert Mat to normalized float array

$
0
0
Hello, I am trying to use opencv on android to detect objects and then to pass these objects to trained tensorflow model. The problem is that my tensorflow model needs float array of the image on the input and I cant give him Mat. Also the array should contains only values between 0 and 1. Is there any way to convert Mat to normalized float array?

Viewing all articles
Browse latest Browse all 1117

Trending Articles