MyNixOS website logo
Description

Brown Dog R Interface.

An R interface for the Brown Dog which allows researchers to leverage Brown Dog Services that provides modules to identify the conversion options for a file, to convert file to appropriate format, or to extract data from a file. See <http://browndog.ncsa.illinois.edu/> for more information.

Brown Dog R Package (BD-R):

Installation

  • Download R from anyone of the mirror site: https://cran.r-project.org/mirrors.html
  • Install R following the instructions provided by the website: https://cran.r-project.org/doc/manuals/r-release/R-admin.html
library(devtools)
install_github("NCSABrownDog/bd.r")
library(BrownDog)
  • A set of example files for test can be found here : http://browndog.ncsa.illinois.edu/examples/caltech101/

  • Index method creates .index.tsv file with file name and correspondingg tags and content descriptors obtained from Brown Dog service. An example .index.tsv file content is shown below:

    airplane.jpg [[0.0721,0.0508,0.777,0.1001,0,0,0,0],[0.1502,0.2493,0.5582,0.0424,0,0,0,0],[0.137,0.0398,0.7637,0.0594,0,0,0,0]]

    brontosaurus.jpg

    cougar.jpg [[0.2571,0.5403,0.1928,0.0098,0,0,0,0],[0.4692,0.5001,0.0308,0,0,0,0,0],[0.3381,0.59,0.0713,0.0007,0,0,0,0]]

    dollar_bill.jpg ["Human Face Automatically Detected"] ["Person Automatically Detected"] [[0.2035,0.2141,0.5724,0.0101,0,0,0,0],[0.2509,0.2266,0.5225,0,0,0,0,0],[0.1939,0.2189,0.5707,0.0165,0,0,0,0]]

    person.jpg ["Mid Close Up Automatically Detected"] ["Human Face Automatically Detected"] ["Person Automatically Detected"] ["Human Eyes Automatically Detected"] ["Human Profile Automatically Detected"] [[0.1969,0.393,0.4079,0.0022,0,0,0,0],[0.1983,0.6102,0.1912,0.0004,0,0,0,0],[0.177,0.5175,0.3048,0.0007,0,0,0,0]]

  • Find method allows to find similar images in a folder for a given query image using the .index.tsv file. An example output looks like:

    [1] "Distance of each file to the query file" <hash> containing 5 key-value pair(s). airplane.jpg : 0.2321195 brontosaurus.jpg : 1.797693e+308 cougar.jpg : 0.5819163 dollar_bill.jpg : 0 person.jpg : 0

Metadata

Version

0.2.1

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows