Open davidkrantz opened 5 years ago
Hello, I was wondering if you had found any for this yet? I am also having trouble with accuracy and speed with KMeans
Hi! I have not tried this yet and no one is working on this issue at the moment, so feel free to give it a go! Nowadays, there might even exist new better suitable clustering methods than the two I mentioned above.
Right now the K-means clustering method is used to find K distinct colors from the album artwork. This method has its flaws, more specifically:
Therefore, the accuracy of the system could potentially be significantly increased by changing the clustering method. Potential clustering methods include DBSCAN and HDBSCAN, where the latter probably is the better choice as it allows clusters of different densities, is efficient and only requires one parameter, namely the minimum cluster size.
The clustering takes place in the file
spotify_background_color.py
in the methodbest_color
. When evaluating different clustering methods, the plotting feature of this method might be of use. This can be activated by simply setting the argumentplot=True
.