Skip to content

๐Ÿค– Automated Instagram content translator using AI and OCR. Downloads posts, extracts text, translates via OpenAI API, and schedules uploads.

Notifications You must be signed in to change notification settings

vickgoodman/python_ocr_translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

27 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Instagram OCR Translator ๐Ÿค–๐Ÿ“ฑ

Work in Progress - Personal automation project

An Instagram bot that automatically downloads posts, extracts and translates text using OCR and AI, then reposts with translated content. Built with Python, OpenAI API, and automated deployment.

๐ŸŽฏ Project Status

๐ŸŸข Currently Live & Running


๐Ÿ–ผ๏ธ Project Showcase

Here is the flow:

1. Download and create posts

  • Project downloads and creates posts everyday at 09:00AM (Scheduled using cron jobs)

  • A mobile notification is sent if the process is successful

  • Original vs Created Post:

Original and Created Post

2. Upload posts

  • After creating the posts, the bot uploads 4 posts at randomized intervals (0-4 hours) to mimic human behavior
  • A mobile notification is sent for each time a post has been uploaded successfully

โœจ Other Features

  • ๐ŸŽฏ Content Filtering: Skips carousels, videos, and low-quality images
  • ๐Ÿ“Š Session Management: Persistent Instagram authentication
  • ๐Ÿ“ˆ Comprehensive Logging: Detailed operation tracking and error handling
  • ๐Ÿ”„ Automated Deployment: Shell scripts for seamless execution

Libraries used

  • Instaloader, Instagrapi - Instagram API integration
  • OpenAI API - GPT-4 for intelligent translation
  • Tesseract OCR - Text extraction from images
  • PIL (Pillow) - Image processing and manipulation

๐ŸŽฏ Planned Improvements

  • Host Project: Self-host project on a Raspberry Pi 5 so it's not on my laptop
  • Enhanced OCR: Implement better OCR engines for better accuracy
  • Improved formatting: Maintain text formatting from original image
  • Add Multi-language Support (Only supports Romanian for now)
  • Dashboard:: Add a monitoring interface
  • Plug-and-play: Make project easier to clone and play around with it

๐Ÿ“ˆ Impact & Results

  • Automated Workflow: Reduced manual posting time by 100%
  • Consistent Content: 4 daily posts with zero downtime
  • Quality Translation: Professional-grade Romanian translations
  • Engagement Growth: Steady follower increase through consistent posting

๐Ÿค Contributing

This is a personal project showcasing automation and AI integration skills. Feel free to explore the code and suggest improvements!

โญ Star this repository if you found it interesting!

This project demonstrates practical application of AI, automation, and full-stack development skills

About

๐Ÿค– Automated Instagram content translator using AI and OCR. Downloads posts, extracts text, translates via OpenAI API, and schedules uploads.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published