text-recognition-0012 processing error
See original GitHub issueimport cv2
tr = cv2.dnn.readNet('./text-recognition-0012.xml', 'text-recognition-0012.bin')
img = cv2.imread('word.jpg')
gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
blob_r = cv2.dnn.blobFromImage(gray, 1, (120, 32))
tr.setInput(blob_r)
tr.forward()
Above code produces an error:
>>> op_inf_engine.cpp:555: error: (-215:Assertion failed) Failed to initialize Inference Engine backend: Incorrect number of input edges for layer shadow/Squeeze in function 'initPlugin'
OpenCV 4.0.1 Inference Engine 2018.R5
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
text-recognition-0012 processing error · Issue #62 - GitHub
I have met a similar problem when I was using "vehicle-detection-adas-binary-0001"model. cv2.error: OpenCV(4.0.1-openvino) /home/jenkins ...
Read more >dexter - Luxonis
I have been looking for a device to offload networks that aren't directly connected to a camera for added processing power. First I...
Read more >Model Downloader and other automation tools
When running the model downloader with Python 3.5.x on macOS, you may encounter an error similar to the following: requests.exceptions.SSLError: [.
Read more >Re:DL Workbench inference with single channel Network
Hi Niclas, Apologies for the delayed response. I've tested further using grayscale images with text-recognition-0012 and found an issue with ...
Read more >Intel Neural Compute Stick 2 - Review - element14 Community
Processor: Intel Movidius Myriad X Vision Processing Unit (VPU) 4GB; Processor Base Frequency: ... Error Code: MEDIA_ERR_SRC_NOT_SUPPORTED.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah, for both models you should wait for the upcoming R1 release (should be posted this or next week). Sorry for the inconvenience.
On OpenCV ‘4.1.0-dev’ with
2019_R1_0.1
all is ok