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% 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.

frederic.lavigne@fr.ibm.com

More How-tos stories

Configuring IBM Cloud App ID From the Toolchain

Learn how to configure the IBM Cloud App ID from a toolchain as part of continuous delivery process. This post gives some background and the script we use.

Continue reading

How to Backup Your IBM Cloud Linux Server

This post covers how to backup entire partitions in Linux systems. The process utilizes the tar command in IBM Cloud's unique rescue environment and showcases the simplicity and flexibility of the process.

Continue reading

Speed up your WordPress with IBM Cloud

WordPress is one of the most popular content management systems available, but the many websites and blogs that use it experience issues with speed. At IBM Cloud, there are several solutions that can help alleviate some of these issues and allow you to have a better and faster WordPress experience.

Continue reading