Is there any tutorial or example to show how to use Inference Engine models in OpenCV
See original GitHub issueI want to know if there is a tutorial or a using example to show how to use Inference Engine pre-trained models in OpenCV to detect the objects like face, human, car, etc…
I have already downloaded and installed the Intel® OpenVINO™ toolkit I followed this wiki.
Basically I have two questions Question 1: I tried to build OpenCV from source with Inference Engine, but the CMake was unable to locate the Inference Engine_DIR, It will be better to also have a tutorial to show how to build, it the wiki above it is not very clear. So I was not able to load the Inference Engine pre-trained model in the OpenCV which was built by me, it has thrwon the exception which say the Inference Engine is not enable. OK, so I used the OpenCV which came with the OpenVINO toolkit.
Question 2: When I loaded the face-detection-adas-0001 xml and bin using cv::dnn::Net::readxxxxx(xml, bin)
it was woking and did not throw any exception, but in the next step I don’t know how to pass the frame (cv::Mat) to the Network and get the result. I am looking for an axample to show how to the pre-trained models in OpenCV.
Thanks!!!
Issue Analytics
- State:
- Created 5 years ago
- Comments:35 (17 by maintainers)
Top GitHub Comments
Just for example,
@Bahramudin, as a workaround you may try to comment the following two lines in
C:\Intel\computer_vision_sdk_2018.4.420\inference_engine\share\InferenceEngineConfig.cmake
:https://github.com/opencv/dldt/blob/55a41d7570f78aaea0d6764d157dd7434730d56f/inference-engine/cmake/share/InferenceEngineConfig.cmake#L167-L168
Please add error messages in text instead of screenshots next time. Otherwise other users can’t find this issue if they faced similar problem.