ARM-software / ML-examples

Arm Machine Learning tutorials and examples

Home Page:https://developer.arm.com/technologies/machine-learning-on-arm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to convert cv::Mat (from opencv) to a data which can be input into arm nn caffe model?

helloyongyang opened this issue · comments

I want to use opencv to read the data from a camera. So the camera's data can be save as a cv::Mat.
I want to know how to convert cv::Mat (from opencv) to a data which can be input into arm nn caffe model?
I have learned the demo mnist_caffe.cpp in this repository. But I can't get enough ideas to use arm nn sdk to write a demo which can implement a detection fuction. I also don't how to load a picture data not a mnist data using arm nn. Can you give me some advices? I am very confusing. Thank you!!!