Giter VIP home page Giter VIP logo

imgsvd's Introduction

ImgSVD

ImgSVD is a Shiny application for image compression via singular value decomposition (SVD). This application is inspired by Yihui Xie's comment in Yixuan Qiu's article on image compression via singular value decomposition with the R package rARPACK.

Play with it

To run this Shiny app locally, install the following R packages first:

install.packages(c("shiny", "markdown", "rARPACK", "jpeg", "png"))

then use:

shiny::runGitHub("nanxstats/imgsvd")

Currently, ImgSVD supports input images in JPEG or PNG format.

imgsvd's People

Contributors

hetong007 avatar nanxstats avatar yihui avatar yixuan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

imgsvd's Issues

Fail to build by Dockerfile CI

---> Running in 83bcde32ec62
2016-06-10 05:27:36 URL:https://s3.amazonaws.com/rstudio-shiny-server-os-build/ubuntu-12.04/x86_64/VERSION [10/10] -> "version.txt" [1]
2016-06-10 05:27:43 URL:https://s3.amazonaws.com/rstudio-shiny-server-os-build/ubuntu-12.04/x86_64/shiny-server-1.4.2.789-amd64.deb [53648754/53648754] -> "ss-latest.deb" [1]
Traceback (most recent call last):
File "/usr/bin/gdebi", line 38, in
from GDebi.GDebiCli import GDebiCli
File "/usr/share/gdebi/GDebi/GDebiCli.py", line 24, in
import apt
ImportError: No module named 'apt'
Removing intermediate container 83bcde32ec62
The command '/bin/sh -c wget --no-verbose https://s3.amazonaws.com/rstudio-shiny-server-os-build/ubuntu-12.04/x86_64/VERSION -O "version.txt" && VERSION=$(cat version.txt) && wget --no-verbose "https://s3.amazonaws.com/rstudio-shiny-server-os-build/ubuntu-12.04/x86_64/shiny-server-$VERSION-amd64.deb" -O ss-latest.deb && gdebi -n ss-latest.deb && rm -f version.txt ss-latest.deb && R -e "install.packages(c('shiny', 'rmarkdown', 'devtools', 'roxygen2'), repos='https://cran.rstudio.com/')"' returned a non-zero code: 1

RSpectra dependency

When I try loading rARPACK it says that RSpectra is required

So, perhaps you should add RSpectra as a dependency.

Attaching: rARPACK 
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : 
  there is no package called ‘RSpectra’
In addition: Warning message:
package ‘rARPACK’ was built under R version 3.2.4 
Error: package or namespace load failed for ‘rARPACK’

Fail to use mxnet_shiny to recognize image

Error:InferShape Error in ch_concat_3c_chconcat: [15:14:35] src/operator/./concat-inl.h:152: Check failed: (dshape[j]) == (tmp[j]) Incorrect shape[2]: (1,320,13,13). (first input shape: (1,576,14,14))

Is this error seem to be a C++ problem?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.