An open API service indexing awesome lists of open source software.

https://github.com/thinkr-open/spongecake

Transform a Movie into a Synthetic Picture.
https://github.com/thinkr-open/spongecake

Last synced: 7 months ago
JSON representation

Transform a Movie into a Synthetic Picture.

Awesome Lists containing this project

README

          

[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/spongecake)](https://cran.r-project.org/package=spongecake)
[![](http://cranlogs.r-pkg.org/badges/spongecake)](https://cran.r-project.org/package=spongecake)

# spongecake

Transform a Movie into a Synthetic Picture. A frame every 10 seconds is summarized into one colour, then every generated colors are stacked together.

why doing this ?... why not ?! :-)

![](motion.png)

## Installation

```R
# from CRAN
install.packages("spongecake")

# from Github
if (!require(devtools)){install.packages("devtools")}
devtools::install_github("ThinkR-open/spongecake")
```

## Usage
```R
library(spongecake)
library(magrittr)
#options(ffmpeg = "C:/ffmpeg-3.1.4-win64-static/bin/ffmpeg.exe") # windows user
library(magrittr)
gen_screenshot(movie = "D:/mymovie.avi") %>%
draw()
```

totally inspired from