Skip to content

Simple web app to build a HTML complete with schema.org recipe markup from a photo of a recipe, using OpenAI compatible API

License

Notifications You must be signed in to change notification settings

referefref/AIOCRRecipeConvertor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI OCR Recipe Convertor

Simple web app to build a HTML complete with schema.org recipe markup from a photo of a recipe, using OpenAI compatible API

  • I needed a way to move hand written and printed recipes to Paprika, this simple app facilitates that using pyTesseract and OpenAI GPT-4-Turbo
  • As an added bonus, it fills in (guesses) some missing information like prep time, cooking time, servings, keywords, OCR failures, author details etc.

Install and execute

git clone https://github.com/referefref/AIOCRRecipeConvertor.git
cd AIOCRRecipeConvertor
apt install tesseract
pip install -r requirements.txt
echo 'OPENAI_API_KEY = "YOURKEYHERE"' >  .env
python3 aiocrrecipecon.py
# Server runs on port 5000

Todo

  • Show all recipes as list on the index page
  • Function to deal with multi-page recipes
  • Bulk upload
  • API
  • Integrate directly with Paprika account?

Award for the most basic UI goes to

image

About

Simple web app to build a HTML complete with schema.org recipe markup from a photo of a recipe, using OpenAI compatible API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy