Kurento Modules¶
Kurento is a pluggable framework. Each plugin in Kurento is called a module.
If you are interested in writing our own modules, please read the section about Writing Kurento Modules.
We classify Kurento modules into three groups, namely:
Main modules. Incorporated out of the box with Kurento Media Server:
- kms-core: Main components of Kurento Media Server.
- kms-elements: Implementation of Kurento Media Elements (WebRtcEndpoint, PlayerEndpoint, etc.)
- kms-filters: Implementation of Kurento Filters (FaceOverlayFilter, ZBarFilter, etc.)
Built-in modules. Extra modules developed by the Kurento team to enhance the basic capabilities of Kurento Media Server. So far, there are four built-in modules, namely:
kms-pointerdetector: Filter that detects pointers in video streams, based on color tracking. Install command:
sudo apt-get install kms-pointerdetector
kms-chroma: Filter that takes a color range in the top layer and makes it transparent, revealing another image behind. Install command:
sudo apt-get install kms-chroma
kms-crowddetector: Filter that detects people agglomeration in video streams. Install command:
sudo apt-get install kms-crowddetector
kms-platedetector: Filter that detects vehicle plates in video streams. Install command:
sudo apt-get install kms-platedetector
警告
The plate detector module is a prototype and its results are not always accurate. Consider this if you are planning to use this module in a production environment.
Custom modules. Extensions to Kurento Media Server which provides new media capabilities.
The following picture shows an schematic view of the Kurento Media Server with its different modules:
Taking into account the built-in modules, the Kurento toolbox is extended as follows:
The remainder of this page is structured in four sections in which the built-in modules (kms-pointerdetector, kms-chroma, kms-crowddetector, kms-platedetector) are used to develop simple applications (tutorials) aimed to show how to use them.
Module Tutorial - Pointer Detector Filter¶
This web application consists on a WebRTC video communication in mirror (loopback) with a pointer-tracking filter element.
Module Tutorial - Chroma Filter¶
This web application consists on a WebRTC video communication in mirror (loopback) with a chroma filter element.
Module Tutorial - Crowd Detector Filter¶
This web application consists on a WebRTC video communication in mirror (loopback) with a crowd detector filter. This filter detects people agglomeration in video streams.