EXP: use a larger image for color frequency extractor
So that it catches smaller areas.
This commit is contained in:
@@ -36,7 +36,7 @@ defmodule MusicLibrary.Colors.ColorFrequencyExtractor do
|
|||||||
end
|
end
|
||||||
|
|
||||||
defp prepare_image_for_analysis(image) do
|
defp prepare_image_for_analysis(image) do
|
||||||
with {:ok, resized} <- Operation.thumbnail_image(image, 150) do
|
with {:ok, resized} <- Operation.thumbnail_image(image, 1000) do
|
||||||
ensure_rgb_channels(resized)
|
ensure_rgb_channels(resized)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user