Comparing few OCR libraries
Image preprocessing is being done using OpenCV
cd ocr-app/app
make dev
brew install mkcert
mkdir ocr-app/app/certs && cd ocr-app/app/certs
mkcert localhost 127.0.0.1 ::1
Build Dockerfile docker build -t ocr . --rm
Run app inside Docker
docker run -p 8000:8000 -it --rm ocr-app
Run with Kubernetes:
- Start minikube:
minikube start
- Configure your shell to use the Docker daemon inside your Minikube virtual machine
minikube docker-env
- Run
eval $(minikube -p minikube docker-env)
- Pull docker image:
docker pull victorysokolov/ocr
- Apply the Kubernetes deployment config:
kubectl apply -f deployment.yml
cd infrastructure/terraform
terraform init
terraform apply
helm list -A # Verfiy installation
- username: admin
- To retrieve a password
kubectl get secrets argocd-initial-admin-secret -o yaml -n argocd
echo "copied_password_here" | base64 -d
kubectl port-forward svc/argocd-server -n argocd 8080:80