Thanks to visit codestin.com
Credit goes to github.com

Skip to content

veyselkoparal/mrisa

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MRISA

MRISA (Meta Reverse Image Search API) is a RESTful API which takes an image URL, does a reverse Google image search, and returns a JSON array with the search results.

Usage

Install the necessary dependencies:

pip install certifi flask pycurl beautifulsoup4

Start the server with:

python mrisa/server.py

API

Perform a Reverse Image Search

Performs a reverse image search using the supplied image URL as input.

URL

Arguments

  • image_url - A URL to an image to use for the search input.

Request Example

curl -X POST http://localhost:5000/search
    -H "Content-Type: application/json"
    -d '{
        "image_url":
            "http://placehold.it/350x150.png"
        }'

Response Example

{
    "descriptions": ["test description", "..."],
    "links": ["http://test_link.com", "..."],
    "similar_images": ["http://test_image.jpg", "..."],
    "titles": ["test title", "..."]
}

About

MRISA - Meta reverse image search api

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%