![infrapix.png](https://i.publiclab.org/system/images/photos/000/000/369/medium/infrapix.png) ### Using Flask, Twitter Bootstrap, and Heroku - Followed this brilliant intro to setting up a web app on Heroku, using Flask and Twitter Bootstrap: http://ryaneshea.com/lightweight-python-apps-with-flask-twitter-bootstrap-and-heroku - Trick for getting matplotlib to install after numpy -- see: https://gist.github.com/mt3/3680810 - Direct to S3 uploads: https://devcenter.heroku.com/articles/s3-upload-python - Code of uploading files using Flask: http://flask.pocoo.org/docs/patterns/fileuploads/ - General info on using python on Heroku: https://devcenter.heroku.com/articles/python - Info on setting up a virtualenv and flask on dreamhost: http://wiki.dreamhost.com/Passenger_WSGI http://wiki.dreamhost.com/Flask - using Flask and boostrap: https://github.com/mbr/flask-bootstrap and http://www.andrewsturges.com/2012/08/installing-twitter-bootstrap-in-flask-09.html - using Flask and jQuery file upload: https://github.com/blueimp/jQuery-File-Upload/wiki/Flask - basic file uploads with Flask: http://flask.pocoo.org/docs/patterns/fileuploads/ - great introduction to flask: http://flask.pocoo.org/docs/quickstart/ - nice example of using Flask to upload to S3: http://thefort.org/a/using-flask-flask-wtf-and-boto-to-handle-file-uploads-to-amazon-s3/ - entire monogdb based image upload system https://github.com/DarkSector/profilebuilder - setting up a virtualenv and flask on dreamhost: http://wiki.dreamhost.com/Flask and http://wiki.dreamhost.com/Passenger_WSGI ###Craig's code for doing the ndvi conversion - StuporBlue to NDVI conversion: https://gist.github.com/cversek/5616453 - Tunable gaussian HSV colormap functions: https://gist.github.com/cversek/5622365 - relevant tutorial for using matplotlib for image processing: http://matplotlib.org/users/image_tutorial.html ### Discussion threads on processing NDVI in this manner, appropriate color tables, etc: -https://mail.google.com/mail/u/0/#search/craig/13ec4525bc160f90?compose=13ec886588389872 - https://groups.google.com/group/plots-infrared/browse_thread/thread/dcf3a9a0518ec55e - https://groups.google.com/group/plots-infrared/browse_thread/thread/3c4ebab96e9a90ac ### Test app on Heroku - http://infrapix.herokuapp.com/ - https://github.com/dwblair/infrapix