vagrant / ColorSchemeExtraction / 0.2.0

The Algorithm

This is an O(n^3) algorithm that approximates 15 colors that best represent an image provided in an image URL.  

Featured above: A broad overview of the processing pipeline.  


This algorithm uses an iterative numerical approach to converge on a color scheme. As such this process is relatively time consuming and can run anywhere from 2ooms to 900ms

Input [Download speed as performance bottleneck]  

This algorithm takes, as its argument, a single url value from which it downloads the image it processes.  Download speed generally accounts for a majority of compute time and can range from 0.5 - 3 seconds.