How-tos

Discover dark data behind videos with OpenWhisk and Watson

Share this post:

Republished from the OpenWhisk blog


Video should soon represent up to 90{07c2b926d154bd5dc241f595a572d3349d41d98f2484798a4a616f4fafe1ebc0} of all consumer internet traffic. This is a lot of information, often referred to as “dark data”, that is not simply searchable like a row in a database. In a previous post, I’ve looked at image tagging and face detection with IBM Watson Visual Recognition and Alchemy API. What if we could apply the same technologies to videos to make sense of these “dark data”?

That’s what I did, helped again by IBM Bluemix OpenWhisk and Watson services. The sample application, called Dark Vision, processes videos by extracting frames and tagging these frames independently.

OpenWhisk Dark Vision

(Source code is available in project IBM-Bluemix/openwhisk-darkvisionapp on GitHub).

Once all frames have been analyzed, a summary of the most frequent tags, building and faces is built for the video. The resulting tags and keywords could, for instance, be used to build a recommendation engine to suggest related videos or to display advertisements directly linked to the content of the video; alternatively, they could be used to improve search results. And as we can keep track of which tag appeared in which frame, we could also improve the viewer experience by skipping the video directly to the frame where a tag, or a face was first seen.

Check out this video to see the application in action:

Helped by cognitive technologies like Alchemy API and Watson Visual Recognition, we are able to automatically extract useful information from these videos without having to actually watch them. Combined with OpenWhisk, a cloud-first distributed event-based programming service, we built a system that can process these videos at scale without worrying about the infrastructure or the sizing of the system.

If you have feedback, suggestions, or questions about the app, please reach out to me on Twitter @L2FProd. If you want to see OpenWhisk running in IBM Bluemix, sign-up for the experimental Bluemix OpenWhisk.

Offering Manager - IBM Cloud

More How-tos stories
May 3, 2019

Kubernetes Tutorials: 5 Ways to Get You Building Fast

Ready to start working with Kubernetes? Want to build your Kubernetes skills? The five tutorials in this post will teach you everything you need to know about how to manage your containerized apps with Kubernetes.

Continue reading

May 3, 2019

Using Portworx to Deploy and Manage an HA MySQL Cluster on IBM Cloud Kubernetes Service

This tutorial is a walkthrough of the steps involved in deploying and managing a highly available MySQL cluster on IBM Cloud Kubernetes Service.

Continue reading

May 2, 2019

Kubernetes v1.14.1 Now Available in IBM Cloud Kubernetes Service

We are excited to announce the availability of Kubernetes v1.14.1 for your clusters that are running in IBM Cloud Kubernetes Service. IBM Cloud Kubernetes Service continues to be the first public managed Kubernetes service to support the latest upstream versions from the community.

Continue reading