azure-ai-formrecognizer-java
Extract Data from Documents with Azure Form Recognizer
Automate document processing by extracting text, tables, and structured data from forms, invoices, and receipts. Build Java applications that leverage Azure Document Intelligence prebuilt models or create custom document analyzers.
تنزيل ZIP المهارة
رفع في Claude
اذهب إلى Settings → Capabilities → Skills → Upload skill
فعّل وابدأ الاستخدام
اختبرها
استخدام "azure-ai-formrecognizer-java". Analyze receipt from restaurant image
النتيجة المتوقعة:
Extracted fields: Merchant='The Grand Bistro', TransactionDate=2024-01-15, Total=87.42, Subtotal=78.50, Tax=8.92. Line items: Pasta Carbonara ($24.00), Caesar Salad ($18.00), Tiramisu ($12.00), Wine ($24.50). Confidence scores above 0.95 for all fields.
استخدام "azure-ai-formrecognizer-java". Extract table from quarterly report PDF
النتيجة المتوقعة:
Table detected: 12 rows x 5 columns. Headers: Quarter, Revenue, Expenses, Profit, Growth. Data extracted with cell positions and confidence scores. Table structure preserved with row/column indices for spreadsheet export.
استخدام "azure-ai-formrecognizer-java". Process batch of mixed document types
النتيجة المتوقعة:
Document 1: Classified as Invoice (98% confidence) - Vendor: ABC Supply, Amount: $1,250.00. Document 2: Classified as Receipt (96% confidence) - Merchant: Office Depot, Total: $89.99. Document 3: Classified as Contract (94% confidence) - 8 pages detected.
التدقيق الأمني
آمنAll static analysis findings are false positives. The file is Markdown documentation containing Java SDK code examples. No executable code, command injection, or malicious patterns detected. External command detections confused markdown code fences with shell syntax. URL references are documentation examples for Azure endpoint configuration.
درجة الجودة
ماذا يمكنك بناءه
Automated Invoice Processing
Extract vendor names, invoice dates, line items, and totals from supplier invoices. Integrate with accounts payable systems to automate data entry and reduce manual processing time.
Receipt Data Capture
Build expense reporting applications that extract merchant names, transaction dates, and itemized purchases from receipt images. Enable mobile receipt scanning for employee reimbursements.
Custom Form Digitization
Create custom models for organization-specific forms like purchase orders, contracts, or survey responses. Train the model on sample documents and deploy automated extraction workflows.
جرّب هذه الموجهات
Create a Java program using Azure Document Intelligence SDK to extract text and tables from a PDF file. Use the prebuilt-layout model and print the results to console.
Write Java code to analyze a receipt image using the prebuilt-receipt model. Extract merchant name, transaction date, and total amount with confidence scores. Handle cases where fields may be missing.
Generate Java code to build a custom document model for invoice extraction. Include training from Azure Blob Storage, model composition from multiple invoice templates, and error handling for training failures.
Create a complete Java solution that classifies incoming documents as invoices, receipts, or contracts using a custom classifier, then routes each type to the appropriate prebuilt model for detailed extraction. Include async polling and retry logic.
أفضل الممارسات
- Use DefaultAzureCredential for production deployments to leverage managed identities and avoid hardcoding credentials
- Implement polling with appropriate timeouts for long-running analysis operations on large documents
- Validate document format and size before submission to avoid unnecessary API calls and costs
تجنب
- Do not hardcode API keys or endpoints in source code; use environment variables or Azure Key Vault
- Avoid synchronous blocking calls in high-throughput scenarios; use async patterns for scalability
- Do not process documents without validating file types; unsupported formats will fail analysis
الأسئلة المتكررة
What document formats does Azure Form Recognizer support?
How accurate are the prebuilt models?
What is the difference between prebuilt and custom models?
How do I handle documents in multiple languages?
What happens if the analysis operation fails?
Can I process documents stored in Azure Blob Storage directly?
تفاصيل المطور
المؤلف
sickn33الترخيص
MIT
المستودع
https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/azure-ai-formrecognizer-javaمرجع
main
بنية الملفات
📄 SKILL.md