Learn R Programming

VideoComparison (version 0.15)

ExtractMotion: NoSQL JSON oriented database motion vector extraction function

Description

A R function allowing to ask to a REST/Json server for the motion vector of a video stored there. It will return it as a vector of integers.

Following packages are required: RJSON, RCurl

Usage

ExtractMotion(father,pos,url="http://localhost:9200/selected_db/selected_db/_search")

Arguments

father
String describing the ID key allowing to access the data into the database.
pos
Number of component retrieved. By default 1=> Motion. Alternatives are 2:4 (RGB color component or 5 timeframe
url
String describing the URL which will answer queries in JSON oriented mode.

References

Espinosa-Gutiez, S., Ordieres-Mere, J., Bello-Garcia, A.: Large scale part-to-part video matching by a likelihood function using featured based video representation. TAMIDA 2013 - Taller de Mineria de Datos dentro del IV congreso Espannol de Informatica. 254-257 (2013). http://bioinspired.dacya.ucm.es/maeb2013/images/ActasCAEPIA_final.pdf

Cui, M., Femiani, J., Hu, J., Wonka, P., Razdan, A.: Curve matching for open 2D curves. Pattern Recogn. Lett. 30, 1-10 (2009)

Examples

Run this code

## Requires specific server architecture
# mm<-ExtractMotion("C0031D0")

Run the code above in your browser using DataLab