Showing posts with label Applications. Show all posts
Showing posts with label Applications. Show all posts

Thursday, April 2, 2009

Distributed System for Photo Mosaic Processing

My passion for photo mosaics and highly scalable distributed systems has led me to ponder about a distributed system for photo mosaics. Here's a first go of how it would work.

Assume the photos reside in some warehouse available via a REST interface. Assume also that all the photo indices can be received in one get request.

For now, we will assume a star topology with a master node that distributes all work to several worker nodes.

Abstract
A collection of photos is defined. The photos are distributed to several workers. The workers measure the "colorness" of each image and store the colorness with each image locally. The images are then sorted locally and a parallel sorting algorithm is used to sort images globally. Each worker receives subsections of the global image and determines the "colorness" of each subsection. The subsections are then sorted locally and a parallel sorting algorithm is used to sort subsections globally. The subsections and the images and then paired based on their order after sorting. Finally the images are assembled based on their paired subsections original global image placement.





Thursday, March 26, 2009

LaTeX + Evernote = better math notes

Evernote is a great way to push your notes to the cloud. And the content you create is indexed for later searching. LaTeX is the standard document markup language used in scientific research papers, or any other document that requires some math. However taking notes in LaTeX is not really feasible since it is not very easy to type documents on the fly. Even editors that provide buttons to insert symbols are hard to use and slow down note taking speed. The ideal solution is to simply be able to write notes like with a tablet. However the notes you take should use some sort of recognition to convert the notes into LaTex. From there, the documents should be uploaded to evernote and indexed.

Hulu + Tokbox

I thought of the idea of being able to watch Hulu and tokbox at the same time. The key idea is that both people can control the video just like you already can with youtube. I'm not sure how to do this though. A simple idea is that at the least a web application can be created where hulu videos are embedded and tokbox parties are also embedded. That's the simplest mashup I can think of. But both people will have to start their video separately.

The way I think tokbox is able to synchronize youtube watching is that they buffer it on a separate server first. This is based on the different control one sees/uses when watching within a Tokbox party. So perhaps a more functional solution would be to have a server that routes the traffic to those in the party. Still not sure how to handle the video routing.