Skip to content

3dhead/art-palette

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Art Palette

Art Palette is part of Arts & Culture experiments, which explore innovative ways for users to interact with art collections. With Art Palette, you can search for artworks that match a color combination of your choice.

Art Palette

Develop

Some elements of the site are not in the repository but it gives you the base code and concepts to build your own efficient search by palette tool.

The source code is separate in two parts :

  1. The frontend Javascript code used to extract the color palette from an image.
  2. The backend Python code used to find the nearest palettes matching a given one with the palette embedding TensorFlow model.

Javascript palette extractor that returns the palette calculated for an ImageData.

Machine learning model that returns an embedding of color palettes in an Euclidean space that preserves perceptual distance. This embedding enables efficient nearest-neighbor search.

Contributors

Etienne Ferrier and Simon Doury with friends at the Google Art & Culture Lab.

License

Copyright 2018 Google Inc.

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Final Thoughts

We encourage open sourcing projects as a way of learning from each other. Please respect our and other creators’ rights, including copyright and trademark rights when present, when sharing these works and creating derivative work. If you want more info on Google's policy, you can find that here.

N.B.: This is not an official Google product.

About

This repo is related to the Art-Palette experiment from Google Arts & Culture.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 61.8%
  • Python 27.3%
  • HTML 10.9%