Thanks for your reply. I have tried the AICamera  demo code.
But when I run it with my Caffe2 model which is converted from PyTorch 1.0 (PyTorch -> ONNX -> Caffe2), the code cannot load the model successfully ( actually the Init function keeps loading model but cannot finish it).
I guess the reason is the version of Caffe2 library in AICamera is different from the new Caffe2 in PyTorch 1.0. The old Caffe2 cannot load the new model, so it cannot finish loading model.
I will try to find other ways to solve it…