Color 2D Image Analysis

What is the best library for color 2D image analysis? I am thinking of developing an automated trading system based on realtime analysis of trading charts with indicators.

Do you mean a library for creating charts? I would probably suggest for that.

If you want a library that can analyze images, that’s something else entirely.

The latter

It's possible to analyse pictures of charts, but this tends to be pretty brittle, especially when you are looking at individual pixels and using a heuristic-based method instead of AI.

I've used the Google Vision API for analysis user-submitted screenshots in the past and it does a lot of the heavy lifting. Maybe that's something you could use.

If this is for a trading application, you should also be able to find a feed of the raw data in a machine-readable format. That's probably your best long-term solution.