# OpenCV DNN run IR model OpenVINO in Node JS. https://github.com/intel/inference-engine-node ``` (ocv_dnn) C:\Users\Public\PlayAIwithPC\public\mobilenet-v2-1.0-224\FP16>python Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import numpy as np >>> import cv2 >>> net = cv2.dnn.readNet('mobilenet-v2-1.0-224.xml', 'mobilenet-v2-1.0-224.bin') [E:] [BSL] found 0 ioexpander device >>> net.setPreferableBackend(cv2.dnn.DNN_BACKEND_INFERENCE_ENGINE) >>> net.setPreferableTarget(cv2.dnn.DNN_TARGET_CPU) >>> >>> image = cv2.imread('car.png') >>> blob = cv2.dnn.blobFromImage(image,1,(224,224),(104,117,123)) >>> net.setInput(blob) >>> preds = net.forward() [E:] [BSL] found 0 ioexpander device array([[1.2294871e-04, 8.3889900e-05, 4.6484623e-05, ..., 3.8322083e-05, 2.0439149e-05, 5.4101023e-05]], dtype=float32) ``` # Tensorflow Model ![](https://i.imgur.com/VAhF0TJ.png) # OpenVINO Model ![](https://i.imgur.com/qDW2ia5.png)