The-Lunar-Curve / SBC-POC

Open source library for experimental projects.
1 stars 1 forks source link

Processing pixel data can be quite slow. #2

Open jakecjones opened 4 years ago

jakecjones commented 4 years ago

I think we could probably consolidate a few of these methods by clustering the data as it's loaded initially. We tend to cycle through these larger arrays a few times before choosing the dominant colors. Maybe we can divide this data better before the clustering step?

elishacoad commented 3 years ago

Yes, could also be useful if we decide to add other features like pixalizing the image or wanting to find the average of an area of the image.