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.
- Host: GitHub
- URL: https://github.com/thinkr-open/spongecake
- Owner: ThinkR-open
- Created: 2016-10-16T19:35:17.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-29T13:37:38.000Z (almost 9 years ago)
- Last Synced: 2023-11-20T15:11:04.686Z (over 2 years ago)
- Language: R
- Homepage:
- Size: 17.7 MB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://cran.r-project.org/package=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 ?! :-)

## 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