googleimage2array

R package for Creating Array Data from 2D Image Thumbnails via Google Image Search

https://github.com/kumes/googleimage2array

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.8%) to scientific vocabulary

Keywords

cran image r
Last synced: 6 months ago · JSON representation

Repository

R package for Creating Array Data from 2D Image Thumbnails via Google Image Search

Basic Info
Statistics
  • Stars: 3
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 1
Topics
cran image r
Created over 4 years ago · Last pushed over 2 years ago
Metadata Files
Readme

README.md

GoogleImage2Array (0.99.x)

CRAN CRAN_latest_release_date CRAN CRAN downloads last month CRAN downloads last week

R package for Creating Array Data from 2D Image Thumbnails via Google Image Search

CRAN/GoogleImage2Array, GitHub/GoogleImage2Array, rdrr.io/GoogleImage2Array

Version

  • 0.99.6: Added a new function, 'display.spiral'.
  • 0.99.6: Modified the 'GoogleImage2array' function.
  • 0.99.5: Fixed to be able to read jpeg and png formats.
  • 0.99.2: Published in CRAN.

Installation

  • install from CRAN (ver. 0.99.2)

```r install.packages("BiocManager") BiocManager::install("EBImage")

install.packages("GoogleImage2Array", repos="http://cran.r-project.org") ```

  • install the latest from GitHub

type the code below in the R console window

```r install.packages(c("devtools", "BiocManager"), repos="http://cran.r-project.org") BiocManager::install("EBImage")

devtools::install_github("kumeS/GoogleImage2Array") ```

or install from the source file

r git clone https://github.com/kumeS/GoogleImage2Array R CMD INSTALL GoogleImage2Array

Tutorial

Functions

  • GoogleImage2array: create array from image thumbnails via the google image search.
  • bind.array: bind two 4d arrays to one 4d array.
  • display.array: display 4d array as a tiled image.
  • display.spiral: display 4d array as a spiral image.

Simple usage

```r library(GoogleImage2Array)

Search by persian cat

query <- "persian cat" CatImg <- GoogleImage2array(query)

show info

str(CatImg)

$ array: num [1:20, 1:64, 1:64, 1:3] 0.0141 0.7029 0.7608 0.111 0.3398 ...

$ query: chr "persian cat"

show CatImg

display.array(CatImg) ```

You should have the results of the tiled images as follows.

Image_persian_cat

License

Copyright (c) 2021 Satoshi Kume

Released under the Artistic License 2.0.

Authors

  • Satoshi Kume

Owner

  • Name: skume
  • Login: kumeS
  • Kind: user
  • Location: Osaka
  • Company: Japan

Satoshi Kume is a biochemist and also a bioinformatician. Now I enjoy to contribute CRAN and Bioconductor project. Since 2021, I have joined illumina Japan.

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 58
  • Total Committers: 3
  • Avg Commits per committer: 19.333
  • Development Distribution Score (DDS): 0.121
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
kumeS s****e@r****p 51
skume s****e@a****p 6
sas s****s@y****l 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 1
  • Total pull requests: 0
  • Average time to close issues: 10 days
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 4.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • lhami (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 204 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 1
  • Total maintainers: 1
cran.r-project.org: GoogleImage2Array

Create Array Data from 2D Image Thumbnails via Google Image Search

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 204 Last month
Rankings
Stargazers count: 26.2%
Forks count: 28.8%
Dependent packages count: 29.8%
Dependent repos count: 35.5%
Average: 41.9%
Downloads: 89.0%
Maintainers (1)
Last synced: 6 months ago

Dependencies

DESCRIPTION cran
  • R >= 4.1.0 depends
  • EBImage * imports
  • magick * imports
  • magrittr * imports
  • rTensor * imports
  • rvest * imports
  • spiralize * imports
  • xml2 * imports
  • testthat * suggests
.github/workflows/R-CMD-check.yml actions
  • actions/checkout v1 composite
  • r-lib/actions/setup-r master composite