Learn R Programming

VideoComparison (version 0.15)

ExtractImgHash: NoSQL JSON oriented database video frame hash extraction function

Description

A R function allowing to ask to a REST/Json server for the video frame hashes stored there. It will return it a list with the hashes related to the requested image inside the video for those frames.

Following packages are required: RJSON, RCurl

Usage

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

Arguments

pos
String describing the ID of the frame we are interested into its hashes
father
String describing the ID key allowing to access the data into the database.
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<-ExtractImgHash("000060","C0031D0")

Run the code above in your browser using DataLab