Create a Meteor app and put the client_/server_ files in a client/server directories. Also, create a public dir to save the uploaded files.
This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.
The script is here:
#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// initial - Initial value (must be an object) | |
// name - a name to help identify the object if you're using objectStore | |
// objectStore - a central store to push all initialised objects into (for debugging) | |
// maxInvalidate - the maximum number of times to invalidate computations which depend | |
// on this object. Avoids and helps diagnose infinite invalidation loops in testing. | |
// | |
// note that setting a sub-key on a key which is currently literal-valued will delete | |
// the existing value | |
ReactiveObject = function(initial, name, objectStore, maxInvalidate) { |