Computer vision for the masses: bringing computer vision to the open web platform*
The Web is the world’s most universal compute platform and the foundation for the digital economy. Since its birth in early 1990s, Web capabilities have been increasing in both quantity and quality. But in spite of all the progress, computer vision isn’t yet mainstream on the Web. The reasons include:
The lack of camera support in the standard Web APIs
The lack of comprehensive computer vision libraries
These problems are about to get solved―resulting in the potential for a more immersive and perceptual Web with transformational effects including online shopping, education, and entertainment, among others.
OpenCV is the most popular computer vision library, with a comprehensive set of vision functions and a large developer community. It’s implemented in C++ and, up until now, was not available in Web browsers without the help of unpopular native plugins.
The Open Web Platform
The Open Web Platform is the most universal computing platform, with billions of connected devices. Its popularity in online commerce, entertainment, science, and education has grown exponentially―as has the amount of multimedia content on the Web. Despite this, computer vision processing on Web browsers hasn’t been a common practice. The lack of client-side vision processing is due to several limitations:
A lack of standard Web APIs to access and transfer multimedia content
Lack of a comprehensive computer vision library to develop apps
The approach we outline here, along with other recent developments on the Web front, will address those limitations and empower the Web with proper computer vision capabilities.
Adding Camera Support and Plugin-Free Multimedia Delivery
HTML5 introduced several Web APIs to capture, transfer, and present multimedia content in browsers without the need for third-party plugins. One of these, Web Real-Time Communication* (WebRTC*), allows acquisition and peer-to-peer transportation of multimedia content and video elements to display videos.
Recently, the immersive Web with access to virtual reality (VR) and augmented reality (AR) content has begun delivering new, engaging user experiences.
A Comprehensive Computer Vision Library
As an alternative approach, we take advantage of an existing comprehensive computer vision library developed in C++ (i.e., OpenCV) and make it work on the Web. This approach works great on the Web for several reasons:
It provides an expansive set of functions with optimized implementation.
Developers can access a large collection of existing resources such as tutorials and examples.
>> Continue reading this article on our sister site, "EE Times: Computer Vision for the Masses: Bringing Computer Vision to the Open Web Platform*"