Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Vibe Coding and deploying an OCR app using ChatGPT and GitHub Pages (for free)

Автор: Kostas Minaidis

Загружено: 2025-11-06

Просмотров: 530

Описание:

Let's Vibe code a single page OCR application using ChatGPT and deploy the app using GitHub Pages, all for free.

Optical Character Recognition will help us either copy and image or drag and drop it and have the Tesseract OCR JavaScript library detect any text found on the image.

Demo: https://in-tech-gration.github.io/onl...

Source code: https://github.com/in-tech-gration/on...

==========================
ChatGPT Prompts (step-by-step)
==========================

v1.0 (Paste Image & Display Image)

Create an HTML/JS page that allows the user to paste image data into a box (copied by right click on an image in another Tab) and display that image data in an image or canvas element.

v2.0 (Run OCR on the loaded image + copy text)

Now have a button load and run Tesseract js via a CDN and do an OCR on that image and display it in another HTML textarea element that the user can click a copy icon and grab it

v3.0 (OCR via Selection)

OK. Now one more thing. Allow the user to draw a rectangle around the image displayed (after it was copied) so that the OCR can be selectively done on a specific area of the image. There should be an Run OCR button to run OCR on the whole image or the user can draw and then select Run OCR on selection.

v4.0 (Fix Canvas Overflow)

Make sure that the canvas has a width of 100% so that it does not overflow the screen. Make sure that the drawing rectangle selector works accordingly.

v5.0 (Load via URL)

Add an input element that accepts the URL of an image and tries to dynamically load the image to the canvas to be OCR-ed. Display a red alert if there's a CORS issue while trying to fetch the image and display it on the canvas.

v6.0 (Drag and Drop)

One last thing. Add the capability for the user to be able to drag and drop an image file directly into the Paste box.

v7.0 Neuromorphic UI

Can you give the UI an awesome Neuromorphic look and style?

=======================
REFERENCES & RESOURCES
=======================

Canvas API: https://developer.mozilla.org/en-US/d...
Tesseract.js Library for OCR: https://tesseract.projectnaptha.com
Cross-Origin Resource Sharing (CORS): https://developer.mozilla.org/en-US/d...
Create a new Codepen: Type 'pen.new' in Browser's address bar
The page used for testing the Twitter images: https://think-like-a-git.net/

Vibe Coding and deploying an OCR app using ChatGPT and GitHub Pages (for free)

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

JavaScript for Beginners - Build a Number Guessing Game from Scratch (1 hour)

JavaScript for Beginners - Build a Number Guessing Game from Scratch (1 hour)

This New Gemini Update is Massive! (New Features)

This New Gemini Update is Massive! (New Features)

How Claude’s Creator Builds Software (I tested it) ✅

How Claude’s Creator Builds Software (I tested it) ✅

I Looked Into Honey

I Looked Into Honey

От нуля до вашего первого ИИ-агента за 25 минут (без кодирования)

От нуля до вашего первого ИИ-агента за 25 минут (без кодирования)

How To Vibe Code a Polymarket Bot with Claude Code (No Experience)

How To Vibe Code a Polymarket Bot with Claude Code (No Experience)

The Windows 11 Disaster That's Killing Microsoft

The Windows 11 Disaster That's Killing Microsoft

You've Been Using AI the Hard Way (Use This Instead)

You've Been Using AI the Hard Way (Use This Instead)

Classic Blue Galaxy ~60:00 Minutes Space Animation~ Longest FREE HD 4K 60fps Motion Background AAvfx

Classic Blue Galaxy ~60:00 Minutes Space Animation~ Longest FREE HD 4K 60fps Motion Background AAvfx

The fun way to learn SQL (through interactive games)

The fun way to learn SQL (through interactive games)

GPT Image 1.5 vs Nano Banana Pro — How to Use OpenAI’s Latest Update (Full Guide)

GPT Image 1.5 vs Nano Banana Pro — How to Use OpenAI’s Latest Update (Full Guide)

The Strange Math That Predicts (Almost) Anything

The Strange Math That Predicts (Almost) Anything

Vibe Coding Is The WORST IDEA Of 2025

Vibe Coding Is The WORST IDEA Of 2025

Brain rot in software development...

Brain rot in software development...

Курсор 2.0 за 20 минут

Курсор 2.0 за 20 минут

Вы (пока) не отстаёте: как освоить ИИ за 17 минут

Вы (пока) не отстаёте: как освоить ИИ за 17 минут

Microsoft begs for mercy

Microsoft begs for mercy

СЕКРЕТНЫЕ 7 ИИ-инструментов от Google просто УНИЧТОЖИЛИ ChatGPT (100% БЕСПЛАТНЫЙ стек)

СЕКРЕТНЫЕ 7 ИИ-инструментов от Google просто УНИЧТОЖИЛИ ChatGPT (100% БЕСПЛАТНЫЙ стек)

We Built 2 FULL Video Games In 7 Prompts (Claude Code vs GPT-5 Codex)

We Built 2 FULL Video Games In 7 Prompts (Claude Code vs GPT-5 Codex)

Don't learn AI Agents without Learning these Fundamentals

Don't learn AI Agents without Learning these Fundamentals

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: infodtube@gmail.com