/cnocr-nextjs

Primary LanguageJavaScriptMIT LicenseMIT

CNOCR NextJS App

Web application using cnocr and nextjs

Introduction

This project consists of two parts

  1. web: nextjs web app
  2. backend: cnocr ray service

Local Development

Clone project

git clone https://github.com/animebing/cnocr-nextjs
cd cnocr-nextjs

Nextjs web app, in web directory

  1. locate a .env file with content below
CNOCR_URL="http://127.0.0.1:8000/api/ocr"
  1. install dependencies
npm install
  1. start web server
npm run dev

CNOCR ray service, in backend directory

  1. install dependencies
pip install -r requirements.txt
  1. start ray service
serve run server:ocr_app

Dependencies