Sign Up

Log In

Video OCR

FREEMIUM
By SemaMediaData
Updated 9 months ago
Data
-/10
Popularity Score
-
Latency
-
Success Rate

Video OCR API Documentation

video OCR is an analysis cascade which includes video segmentation (hard-cut), video text detection/recognition, and named entity recognition from video text (NER is a free add-on feature). The analysis result of this method enables automatic video retrieval and indexing as well as content-based video search in video archives. A detailed example can be found in our demo website: https://www.semamediadata.com/demo/video-ocr/

View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub

POSTVideo OCR
POSTVideo OCR

video OCR is an analysis cascade which includes video segmentation (hard-cut), video text detection/recognition, and named entity recognition from video text (NER is a free add-on feature). The analysis result of this method enables automatic video retrieval and indexing as well as content-based video search in video archives. A detailed example can be found in our demo website.

FreemiumThis API has a free, limited plan and paid plans. You can subscribe directly to it from RapidAPI.
Sign up to test this endpoint
Log in
Header Parameters
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
Content-TypeSTRING
REQUIRED
fileBINARY
REQUIREDabsolute path to your video file
langSTRING
REQUIRED[language code, the supported language codes for this method include: en: English de: German spa: Spanish fr: French ita: Italian rus: Russian zh: Chinese Simplified zh_t: Chinese Traditional
callbackSTRING
REQUIREDis a url provided by client, after the analysis a POST request will be sent using this url and the client can obtain a download link of the analysis result by reading the POST-parameter 'Download_Link'.
Optional Parameters
ucSTRING
OPTIONALTrue or False, default is True. When uc=False, then the classifier-based text verification process will be deactivated, which will increase the recall but lower the precision of the result.
spSTRING
OPTIONALTrue or False, default is False. When sp=True then a spell correction process will be performed. Note that the supported languages are English, German, Spanish, French, Russian, Italian.
mhSTRING
OPTIONALTrue or False, default is False. When mh=True then a multi-hypothesis analysis will be performed. This will increase the accuracy but also the execution time. Note that the supported languages are English, German, Spanish, French, Russian, Italian.
dfSTRING
OPTIONALTrue or False, default is False. When df=True then the dictionary-based word-filtering process will be performed. Note that the supported languages are English, German, Spanish, French, Russian, Italian.
nerSTRING
OPTIONALTrue or False, default is False. When ner=True then the named entity recognition will be performed on OCR results. Note that this is a free add-on feature. NER supported Languages are English, German, Chinese Simplified.
itypeSTRING
OPTIONALSpecify a image type, a proper configuration will be used for this type. The available types are:'overlay' for overlay text images; 'digital' for born-digital images; 'hd' for overlay text images with HD or larger resolution; 'other' a more general configuration. By default (without type specification) an adaptive algorithm will be used to select the configuration dynamically.
nocutSTRING
OPTIONALTrue or False, default is False. nocut=True means that the submitted video is raw video material without any post-production. Therefore no hard or soft camera transition can be found in this video. For this case a specific method will be used for video segmentation task.
Request Snippet
unirest.post("https://semamediadata-video-ocr-v1.p.rapidapi.com/")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "undefined")
.send("uc=undefined")
.send("sp=undefined")
.send("mh=undefined")
.send("df=undefined")
.send("ner=undefined")
.send("itype=undefined")
.send("nocut=undefined")
.send("lang=<required>")
.send("callback=<required>")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response

loading...

Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://semamediadata-video-ocr-v1.p.rapidapi.com/")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "undefined")
.send("uc=undefined")
.send("sp=undefined")
.send("mh=undefined")
.send("df=undefined")
.send("ner=undefined")
.send("itype=undefined")
.send("nocut=undefined")
.send("lang=<required>")
.send("callback=<required>")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication
Sign up for freeto test this endpoint
Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
DiscoverAPIs
Testfrom the browser
Connectusing code snippets
Managefrom one dashboard