Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jnordberg/dreamcanvas
DeepDream experiment
https://github.com/jnordberg/dreamcanvas
cairo libvips nodejs tensorflow tensorflow-experiments wsrpc
Last synced: 27 days ago
JSON representation
DeepDream experiment
- Host: GitHub
- URL: https://github.com/jnordberg/dreamcanvas
- Owner: jnordberg
- License: other
- Created: 2017-05-09T18:42:31.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-05-18T13:42:48.000Z (over 7 years ago)
- Last Synced: 2024-10-11T08:42:45.715Z (about 1 month ago)
- Topics: cairo, libvips, nodejs, tensorflow, tensorflow-experiments, wsrpc
- Language: TypeScript
- Homepage: https://dream.almost.digital
- Size: 1.05 MB
- Stars: 18
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DreamCanvas
DeepDream experiment, hosted here: https://dream.almost.digital
[![DreamCanvas](client/contents/dreamcanvas.jpg)](https://dream.almost.digital)
## Dependencies
* Build-essentials (clang/gcc, make, etc.)
* [python3](https://python.org)
* [node.js + npm](https://nodejs.org) (version 7)
* [TensorFlow](https://www.tensorflow.org) (version 1.1.0)
* [sharp](https://github.com/lovell/sharp) (image processing with vips)
* [node-canvas](https://github.com/Automattic/node-canvas) (canvas implementation with cairo)Rest of the dependencies are listed in `package.json` and will be installed automatically.
## Running
Run these in separate terminal windows for best results.
### Dreamer service
```
make dreamer
```This starts the python service that does the actual image processing.
### Websocket service
```
make server
```Starts the node.js websocket server that manages the clients and submits the canvas for dreaming to the python service.
### Client
```
make preview
```This starts the [wintersmith](http://wintersmith.io) preview server serving the web app in `client/`.
If you plan to host this somewhere you should run `make build` to build a static version of the client that can
be deployed to any webserver.---
*Share and enjoy!*