Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
algoryn
/
dots-ocr-idcard
like
0
Paused
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
dots-ocr-idcard
153 kB
Ctrl+K
Ctrl+K
1 contributor
History:
24 commits
tommulder
chore(test): commit Makefile and testing scripts
34c6057
10 months ago
scripts
chore(test): commit Makefile and testing scripts
10 months ago
src
style: format Python files with Black
10 months ago
tests
feat(api): fast FastAPI app + model loader refactor; add mock mode for tests\n\n- Add pyproject + setuptools config and console entrypoint\n- Implement enhanced field extraction + MRZ heuristics\n- Add response builder with compatibility for legacy MRZ fields\n- New preprocessing pipeline for PDFs/images\n- HF Spaces GPU: cache ENV, optional flash-attn, configurable base image\n- Add Make targets for Spaces GPU and local CPU\n- Add httpx for TestClient; tests pass in mock mode\n- Remove embedded model files and legacy app/modules
10 months ago
.gitattributes
1.52 kB
Add .gitattributes for proper file handling
10 months ago
.gitignore
871 Bytes
feat(api): fast FastAPI app + model loader refactor; add mock mode for tests\n\n- Add pyproject + setuptools config and console entrypoint\n- Implement enhanced field extraction + MRZ heuristics\n- Add response builder with compatibility for legacy MRZ fields\n- New preprocessing pipeline for PDFs/images\n- HF Spaces GPU: cache ENV, optional flash-attn, configurable base image\n- Add Make targets for Spaces GPU and local CPU\n- Add httpx for TestClient; tests pass in mock mode\n- Remove embedded model files and legacy app/modules
10 months ago
DEPLOYMENT.md
2.55 kB
Prepare for Hugging Face Spaces deployment
10 months ago
Dockerfile
2.99 kB
chore(docker): pin flash-attn prebuilt wheel to cp311 torch2.7 cu126; remove pip fallback
10 months ago
Makefile
4.3 kB
chore(test): commit Makefile and testing scripts
10 months ago
README.md
6.44 kB
feat(api): fast FastAPI app + model loader refactor; add mock mode for tests\n\n- Add pyproject + setuptools config and console entrypoint\n- Implement enhanced field extraction + MRZ heuristics\n- Add response builder with compatibility for legacy MRZ fields\n- New preprocessing pipeline for PDFs/images\n- HF Spaces GPU: cache ENV, optional flash-attn, configurable base image\n- Add Make targets for Spaces GPU and local CPU\n- Add httpx for TestClient; tests pass in mock mode\n- Remove embedded model files and legacy app/modules
10 months ago
main.py
750 Bytes
feat(api): fast FastAPI app + model loader refactor; add mock mode for tests\n\n- Add pyproject + setuptools config and console entrypoint\n- Implement enhanced field extraction + MRZ heuristics\n- Add response builder with compatibility for legacy MRZ fields\n- New preprocessing pipeline for PDFs/images\n- HF Spaces GPU: cache ENV, optional flash-attn, configurable base image\n- Add Make targets for Spaces GPU and local CPU\n- Add httpx for TestClient; tests pass in mock mode\n- Remove embedded model files and legacy app/modules
10 months ago
pyproject.toml
2.13 kB
fix(hf): add hf_transfer for HF_HUB_ENABLE_HF_TRANSFER; remove deprecated symlink arg; add root / route
10 months ago
requirements.txt
292 Bytes
fix(hf): add hf_transfer for HF_HUB_ENABLE_HF_TRANSFER; remove deprecated symlink arg; add root / route
10 months ago
setup_dev.py
2.01 kB
feat(api): fast FastAPI app + model loader refactor; add mock mode for tests\n\n- Add pyproject + setuptools config and console entrypoint\n- Implement enhanced field extraction + MRZ heuristics\n- Add response builder with compatibility for legacy MRZ fields\n- New preprocessing pipeline for PDFs/images\n- HF Spaces GPU: cache ENV, optional flash-attn, configurable base image\n- Add Make targets for Spaces GPU and local CPU\n- Add httpx for TestClient; tests pass in mock mode\n- Remove embedded model files and legacy app/modules
10 months ago