Discover Packages
github.com/ajsoriar/golang-code-tests-and-examples
28_find-common-colours-in-an-image
command
Version:
v0.0.0-...-4f8788d
Opens a new window with list of versions in this module.
Published: Nov 6, 2020
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Find Common Colours in an Image
We use a package to do this. The package, called prominentcolor, uses the Kmeans++ algorithm to work this out. By default, it will return us the three most popular colours after both cropping and resizing the image.
Read this
To install the package prominentcolor
go get -v github.com/EdlinOrg/prominentcolor
To run the example without building
go run .\getcolors.go
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.