/describe-image

Use playwright and Google Reverse Image Search to describe an image

Primary LanguageJavaScriptMIT LicenseMIT

describe-image

describe-image uses playwright to hit google.com/searchbyimage and extract the "Possible related search:" text describing the image, printing it to stdout.

Usage

  1. Install node 12 or 14
  2. Install yarn
  3. git clone https://github.com/ludios/describe-image
    cd describe-image
    yarn install
    ./describe-image URL
    

On NixOS, use nixos-playwright to patch the Playwright browser binaries.