Hi:
I use security_barrier_camera_demo to RUN
has some error below
My version is latest version "l_openvino_toolkit_p_2019.1.144"
Edwin :~/inference_engine_samples_build/intel64/Release$ ./security_barrier_camera_demo -i /opt/intel/openvino/deployment_tools/demo/car_1.bmp -m /opt/intel/openvino/intel_models/
[ INFO ] InferenceEngine:
API version ............ 1.6
Build .................. custom_releases/2019/R1.1_28dfbfdd28954c4dfd2f94403dd8dfc1f411038b
[ INFO ] Parsing input parameters
[ INFO ] Capturing video streams from the video files or loading images
[ INFO ] Files were added: 1
[ INFO ] /opt/intel/openvino/deployment_tools/demo/car_1.bmp
[ INFO ] Number of input image files: 1
[ INFO ] Number of input video files: 0
[ INFO ] Number of input channels: 1
[ INFO ] Display resolution: 1920x1080
[ INFO ] Vehicle Attribs detection DISABLED
[ INFO ] License Plate Recognition detection DISABLED
[ INFO ] Loading plugin CPU
API version ............ 1.6
Build .................. 23780
Description ....... MKLDNNPlugin
[ INFO ] Loading network files for VehicleDetection
[ ERROR ] Error loading xmlfile: /opt/intel/openvino/intel_models/, File was not found at line: 1 pos: 0
How should I do??
Thank you!
Link Copied
Hi EdwinH,
Thanks for the interest.
This looks like it should be in the Computer Vision forum instead of the OpenCL forum... I'm editing the thread to move it there so it can have more visibility from regular technical consultants.
Thanks,
-MichaelC
Dear Hung, Edwin,
to -m /opt/intel/openvino/intel_models/ you must pass the *.xml file which you didn't do. That is the reason for the error:
[ ERROR ] Error loading xmlfile: /opt/intel/openvino/intel_models/, File was not found at line: 1 pos: 0
You need to actually pass the xml file to the -m switch not just the directory.
Hope it helps.
Thanks,
Shubha
Thank you for your remind
But I still have problem
I only have .html files
How to produce the .xml file and .bin file ??
Dear Hung, Edwin,
Please peruse The Security Barrier Camera Demo doc . It refers to the IR (the *.xml files and the *.bin files), also called the "model". You can get the required models from here:
https://download.01.org/opencv/2019/open_model_zoo/R1/models_bin/
You should also be able to find the models here in your OpenVino installation:
C:\Program Files (x86)\IntelSWTools\openvino_2019.1.148\deployment_tools\intel_models
Hope it helps,
Thanks,
Shubha
For more complete information about compiler optimizations, see our Optimization Notice.