stefanobg / GetTheColors

Get all of the colors of your JSON list based on a google search with the most relevant colors.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GetTheColors

Get all the colors of your google image search and find their most relevant colors.

References:

Based on: https://github.com/abenassi/Google-Search-API https://market.mashape.com/apicloud/colortag# http://www.thecolorapi.com/

Installation:

First install this packages to run the script:

$ pip install unirest
$ pip install selenium==2.43.0
$ pip install colour

Install Firefox 32.0.3 to work with Selenium 2.43.0: https://ftp.mozilla.org/pub/firefox/releases/32.0.3/

Then install Google Search API:

$ pip install Google-Search-API
$ pip install google

To upgrade the package if you have already installed it:

$ pip install Google-Search-API --upgrade

PIP install problem:

If you have problems with pip install try add "--user" like this:

$ pip install package-name --user

Run:

To run the script use this code below on your terminal

$ python -W ignore getTheColors.py

If you get problems with timeout, please install django and change pip timeout

$ pip --default-timeout=100 install django

About

Get all of the colors of your JSON list based on a google search with the most relevant colors.


Languages

Language:Python 100.0%