Local AI pipeline for Algerian vehicle import document validation β OCR + LLM, fully offline, GPU-accelerated, Docker-ready
# π DZ Gatekeeper β Vehicle Import Document Validation Pipeline
> A fully local, GPU-accelerated AI pipeline that automates the validation of Algerian vehicle import dossiers β built to run on minimal hardware with zero cloud dependency, in compliance with Algerian data protection law.
---
## The Problem
Since Algeria reopened vehicle imports, ports like Skikda and Oran have been flooded with cars β the majority shipped from China. Each vehicle requires a dossier of import documents that must be carefully examined by a **transitaire** (customs agent) before the shipment can be cleared by the Algerian _Douane_ (customs authority).
This process is entirely manual today, and the consequences of errors are severe:
- A single data mismatch between documents (VIN number, consignee name, weight, HS code) can **block the entire dossier**
- Every extra day the vehicle sits in the port or container generates **demurrage fees paid by the owner**
- Transitaires handle dozens of dossiers simultaneously, under pressure, checking the same fields across 4 different documents by hand
**DZ Gatekeeper automates this.** It processes a full vehicle dossier β Invoice, Packing List, Certificate of Origin, and Technical Details Sheet β in minutes, on a standard laptop, and produces a structured validation report ready for submission to the Douane portal.
---
## Why Fully Local? β Algerian Law No. 18-07
Algeria's **Law No. 18-07** on the protection of personal data explicitly prohibits transmitting Algerian citizens' personal information outside the country without authorization. Vehicle import documents contain sensitive personal data: full name, passport number, NIN (National Identification Number), address, phone, and email.
Using a cloud AI API (OpenAI, Anthropic, Google) would mean sending this data to foreign servers β a direct violation of this law.
**Every inference in this pipeline runs locally:**
- No API calls to external services
- No data leaves the machine
- Mod β¦