Skip to content
/ what-is Public

A tool to see what different things look like on average

Notifications You must be signed in to change notification settings

woltsu/what-is

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

what-is

what-is is a tool to see what different things look like on average. Using a given keyword, what-is downloads images based on google results and outputs what the average image looks like.

Usage

Before what-is can be used, one must create a .env file to the project root and add the following environmental variables there:

API_KEY=X (https://developers.google.com/custom-search/v1/introduction)
CX=Y (https://cse.google.com/cse/all)

Run

  1. pip3 install -r requirements.txt
  2. python3 what-is/main.py

OR

  1. docker build -t what-is .
  2. docker run -it -v $(pwd)/output:/src/output what-is

demo

Examples

Black hole

black hole

Earth

earth

Eye

eye

Face

face

Fire

fire

Flag

flag

Forest

forest

Lightning

lightning

Milky way

milky way

About

A tool to see what different things look like on average

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published