A browsable REST API built using Django REST Framework for recognizing book spines in an image.
- To run this project locally, clone or download this repository.
- Install requirements using:
pip install -r requirements.txt
- Then run the migrations using:
python3 manage.py makemigrations python3 manage.py migrate
- Run the application:
python3 manage.py runserver
Add these URLs after your landing URL:
|Upload Bookshelf Image||
||ID for referring the uploaded image (Inside the Response Header)|
|Spine Line Drawn Image||
||Spine line drawn image|
||URLS of the cropped spine images|
This project contains scrappers to scrap the information of all the books recognized in the spine image. Recognized spine can be sent for text recognition and then the recieved text can be uploaded to below URL’s for scrapping the book’s information.
NOTE 1: It’s okay if the recognized text is not accurate. The scrapper will automatically find the correct book.
NOTE 1: The uploaded text is expected to be the book title [and author name].
|Upload book title text for scrapping information||
||ID of the created Book object (Inside the Response Header)|
|Get Book Information||
||Scrapped book information.|
Client Side Application#
If you want to see how this REST API can be used at client side then checkout Bookshelf Reader Android Application