OpenCV is an open source computer vision and machine learning library that can process images and videos in real-time. It is written in C/C++ and has interfaces for Python, Ruby, and other languages. OpenCV contains over 500 functions for computer vision tasks like factory product inspection, medical imaging, and robotics. It also includes a machine learning library for tasks like pattern recognition and clustering. The goal of OpenCV is to provide a simple infrastructure for building computer vision applications quickly.