Skip to content

Latest commit

 

History

History
27 lines (14 loc) · 714 Bytes

TODO.md

File metadata and controls

27 lines (14 loc) · 714 Bytes
  1. open a source image. ( √ )

  2. get the colors of the image instance, take care of the max colors. ( √ )

  3. group the colors. ( (0 ~ 255) => 3 parts ) ( √ )

  4. sort the item colors tuple. ( √ )

  5. calculate the colors' weighted mean. ( √ )

  6. return the color. ( #xxxxxx ) ( √ )

  7. package the script to a Haishoku class. ( √ )

  8. add getDominant api to get the image's dominant color. ( √ )

  9. add getPalette api to get the image's palette. ( √ )

  10. upload to pypi. ( √ )

  11. add loadHaishoku api to get a Haishoku instance. ( √ )

  12. base on k-means alg. ( x )

  13. show the percentage information with the palette. ( √ )

  14. load image instance from a remote url. (√)