- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was trying CV SDK in version 2018.1.249 on Ubuntu16.04, running the security barrier camera sample with myriadPlugin, but i got problem shown as below..
End with ERROR about OpenCV
What could be the problem?
###################################################
Run Inference Engine security_barrier_camera sample
Run ./security_barrier_camera_sample -d MYRIAD -i ~/Videos/MOV_0333.mp4 -m /opt/intel/computer_vision_sdk/deployment_tools/demo/../intel_models/vehicle-license-plate-detection-barrier-0007/FP16/vehicle-license-plate-detection-barrier-0007.xml -m_va /opt/intel/computer_vision_sdk/deployment_tools/demo/../intel_models/vehicle-attributes-recognition-barrier-0010/FP32/vehicle-attributes-recognition-barrier-0010.xml -m_lpr /opt/intel/computer_vision_sdk/deployment_tools/demo/../intel_models/license-plate-recognition-barrier-0001/FP32/license-plate-recognition-barrier-0001.xml
InferenceEngine:
API version ............ 1.0
Build .................. 10478
[ INFO ] Parsing input parameters
[ INFO ] Reading input
[ INFO ] Loading plugin MYRIAD
API version ............ 0.1
Build .................. myriadPlugin
Description ....... myriadPlugin
[ INFO ] Loading plugin CPU
API version ............ 1.0
Build .................. lnx_20180314
Description ....... MKLDNNPlugin
[ INFO ] Loading network files for VehicleDetection
[ INFO ] Batch size is forced to 1
[ INFO ] Checking Vehicle Detection inputs
[ INFO ] Checking Vehicle Detection outputs
[ INFO ] Loading Vehicle Detection model to the MYRIAD plugin
[ INFO ] Loading network files for VehicleAttribs
[ INFO ] Batch size is forced to 1 for Vehicle Attribs
[ INFO ] Checking VehicleAttribs inputs
[ INFO ] Checking Vehicle Attribs outputs
[ INFO ] Loading Vehicle Attribs model to the CPU plugin
[ INFO ] Loading network files for Licence Plate Recognition (LPR)
[ INFO ] Batch size is forced to 1 for LPR Network
[ INFO ] Checking LPR Network inputs
[ INFO ] Checking LPR Network outputs
[ INFO ] Loading LPR model to the CPU plugin
[ INFO ] Start inference
OpenCV(3.4.1-cvsdk_2018_1.0.5) Error: Assertion failed (ssize.width > 0 && ssize.height > 0) in resize, file ../../../../../src/modules/imgproc/src/resize.cpp, line 4044
[ ERROR ] OpenCV(3.4.1-cvsdk_2018_1.0.5) ../../../../../src/modules/imgproc/src/resize.cpp:4044: error: (-215) ssize.width > 0 && ssize.height > 0 in function resize
Error on or near line 112; exiting with status 1
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The error says that an empty image had been passed to cv::resize function. There can be a problem with your input video file or the FFMpeg library installation. Try to play it with the ffplay utility:
ffplay ~/Videos/MOV_0333.mp4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've tried the ffplay command, the video can be played well.
I also tried other image, like the default demo image "/demo/car_1.bmp" and load MYRIAD plugin,
Still get the same error in the resize function.
But if I use "-d CPU" with FP32 and "-d GPU" with FP16, It works successfully ..
I can't understand why that function can not get the video or image when i use MYRIAD plugin..

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page