Computer Vision Gets A New Tool In The Form Of Intel’s OpenVINO™  Toolkit

Intel OpenVINO™

Intel OpenVINO™

Voted as one of the best developer tools, Intel’s®  OpenVINO™ toolkit has become the go-to tool for vision tasks. Earlier known as Computer Vision SDK, OpenVINO™ provides developers a single, unified software layer across hardware to allow developers to build AI solutions. The end goal here is to take away the complexity of working on Computer Vision applications by providing data scientists and developers a solution to accelerate performance on a range of hardware CPU, GPU, FPGA and VPU. Well, you read it right!

The top-to-bottom optimised support is not just for Intel’s® own hardware, but for GPUs as well, enabling developers to build high-performance computer vision and deep learning based solutions. With simplicity at its core, the OpenVINOtoolkit a free download allows developers to deploy Computer Vision without the need to know much about neural networks.  


This toolkit allows developers to deploy pre-trained Deep Learning models through a high-level C++ or Python* inference engine API integrated with application logic. It supports multiple Intel® platforms and is included in the Intel® Distribution of OpenVINO toolkit.

Subscribe to our Newsletter

Join our editors every weekday evening as they steer you through the most significant news of the day, introduce you to fresh perspectives, and provide unexpected moments of joy
Your newsletter subscriptions are subject to AIM Privacy Policy and Terms and Conditions.

Short for Open Visual Inference & Neural Network Optimization, the Intel®  Distribution of OpenVINO toolkit (formerly Intel®  CV SDK) contains optimised OpenCV™ and OpenVX™ libraries, Deep Learning code samples, and pre-trained models to enhance computer vision development. It’s validated on 100+ open source and custom models, and is absolutely free.

Under The Hood Of OpenVINO

OpenVINO™ Pipeline via Intel®

Computer Vision comes from modelling image processing using the techniques of machine learning. Computer Vision applies machine learning to recognise patterns for interpretation of images. Much like the process of visual reasoning of human vision; we can distinguish between objects, classify them, sort them according to their size, and so forth.

A typical computer vision pipeline with deep learning may consist of regular vision functions (like image preprocessing) and convolutional neural networks (CNNs). The CNN graphs are accelerated on the FPGA add-on card or Intel®  Movidius Neural Compute Sticks (NCS), while the rest of the vision pipelines run on a host processor.

Toolkit deployment

The main components of OpenVINO™ toolkit includes:

  • Deep Learning Model Optimizer which supports converting Caffe*, TensorFlow*, MXNet*, Kaldi*, ONNX* models
  • Deep Learning Inference Engine — a unified API to allow high-performance inference on many hardware types including Intel® CPU, Intel® Processor Graphics, Intel® FPGA, Intel® Movidius™ Neural Compute Stick, and Intel® Neural Compute Stick 2
  • OpenCV™ library

From surveillance in the airports to object detection for driverless cars, the applications are vast. Having a plug and play kind of framework gives developers an extra edge while encouraging the amateurs by avoiding them the burden of dealing with the intricacies of the neural network and build them from scratch.

The Intel® Distribution of OpenVINO™ toolkit delivers access to OpenCV™ and OpenVX™ vision functions—complementary libraries that provide access to software algorithms and accelerate capabilities of CPUs and GPUs from Intel®

The users just have to write code once and leverage all the options available in the toolkit.

This toolkit also includes code samples in C++ and Python along with pre-trained models validated on more than 100 open source and custom models to experiment with.

When pitted against popular frameworks like Caffe, OpenVINO™ looks promising as can be seen below:

The above illustration represents how OpenVINO™ has done well with machine vision tasks like single shot detection(SSD).

Running OpenVINO™

Can a trained model be used without deploying the entire framework? Or use a small part of the framework just for inferencing? These are two common challenges faced by software developers and data scientist when deploying models. Addressing these challenges was the primary objective behind developing OpenVINO™ toolkit.

Accelerate computer vision tasks with OpenVINO™ toolkit in 3 steps:

  1. Convert the model from original framework format using the Model Optimizer tool. This will output the model in Intermediate Representation (IR) format
  2. Perform model calibration using the calibration tool within the Intel®  Distribution of OpenVINO™ toolkit. It accepts the model in IR format and is framework-agnostic
  3. Use the updated model in IR format to perform inference

Upon start-up, the sample application reads command line parameters and loads a network and an image to the Inference Engine plugin. When inference is done, the application creates an output image and outputs data to the standard output stream.

Run the application with the -h option yields the usage message:

python3 classification_sample.py -h

To run the sample, the user can use AlexNet and GoogLeNet or other image classification models. And, users can download the pre-trained models with the OpenVINO™ Model Downloader.

Here is an example of pretrained model in OpenVINO™ for Human Pose estimation:

This is a multi-person 2D pose estimation network (based on the OpenPose approach) with tuned MobileNet v1 as a feature extractor.

It finds a human pose: body skeleton, which consists of keypoints and connections between them, for every person inside image. The pose may contain up to 18 keypoints ears, eyes, nose, neck, shoulders, elbows, wrists, hips, knees and ankles.

Source: OpenVINO™

Inputs

name: “input” , shape: [1x3x256x456] – An input image in the format [BxCxHxW], where:

B – batch size, C – number of channels, H – image height, W – image width. Expected color order is BGR.

Outputs

The net outputs two blobs with shapes: [1, 38, 32, 57] and [1, 19, 32, 57]. The first blob contains keypoint pairwise relations (part affinity fields), the second one contains keypoint heatmaps.

System Requirements:

Hardware

  • 6th-8th Generation Intel® Core™
  • Intel® Xeon® v5 family
  • Intel® Xeon® v6 family

Operating System

  • Microsoft Windows* 10 64-bit

Conclusion

With computer vision tasks growing, Intel OpenVINO™ plug and play toolkit helps developers and machine learning enthusiasts experiment readily.  The Intel® Distribution of OpenVINO™ toolkit delivers access to OpenCV™ and OpenVX™ vision functions — complementary libraries that provide access to software algorithms and accelerate capabilities of CPUs and GPUs from Intel®. With a growing number of computer vision use cases, for example, self driving cars becoming more realistic than ever before, better tools will ensure better outcomes and ease of operation shall encourage more players to participate in this domain.

Know more about the OpenVINO™ here

Download the toolkit here

Sources:

https://software.intel.com/en-us/openvino-toolkit

https://software.intel.com/en-us/openvino-toolkit/choose-download

Ram Sagar
I have a master's degree in Robotics and I write about machine learning advancements.

Download our Mobile App

MachineHack | AI Hackathons, Coding & Learning

Host Hackathons & Recruit Great Data Talent!

AIMResearch Pioneering advanced AI market research

With a decade of experience under our belt, we are transforming how businesses use AI & data-driven insights to succeed.

The Gold Standard for Recognizing Excellence in Data Science and Tech Workplaces

With Best Firm Certification, you can effortlessly delve into the minds of your employees, unveil invaluable perspectives, and gain distinguished acclaim for fostering an exceptional company culture.

AIM Leaders Council

World’s Biggest Community Exclusively For Senior Executives In Data Science And Analytics.

3 Ways to Join our Community

Telegram group

Discover special offers, top stories, upcoming events, and more.

Discord Server

Stay Connected with a larger ecosystem of data science and ML Professionals

Subscribe to our Daily newsletter

Get our daily awesome stories & videos in your inbox
MOST POPULAR