/Colorblind

A demo of the Clarifai API that helps you see the world as a colorblind person would.

Primary LanguageSwift

Colorblind

A demo of the Clarifai API that helps you see the world as a colorblind person would.

This mobile app finds the most dominant colors in a picture and approximate how a colorblind person would see it.

It supports 8 different kinds of colorblindness:

  • Protanopia
  • Protanomaly
  • Deuteranopia
  • Deuteranomaly
  • Tritanopia
  • Tritanomaly
  • Achromatopsia
  • Achromatomaly

Examples:

Example1

Example2

How to Use:

In ViewController.swift define your appId and secret for these variables (line 21, 22):

  • clarifaiAppID
  • clarifaiAppSecret

Then run the app and enjoy (:

Acknowledgements:

Further Development:

  • Not a fan of displaying hex string on the colors - wanted to put the coolr names coming from this project: http://chir.ag/projects/name-that-color/#6195ED, but there wasn't enough time
  • Ability to convert the image to the "colorblind" version, and see if the dominant colors ClarifAI sees are the same as the converted ones from before (I suspect this won't be the case, and it would be interesting to explore)