Sinatra app handles canvas-to-opencv face detection