Dependency installer for Faria, a document processing library with ML-powered layout detection and table extraction.
# IDP only (Document Processing)
curl -fsSL https://raw.githubusercontent.com/exto360-inc/faria-install/main/install.sh | bash -s -- --features idp
# Chat only (Conversational AI)
curl -fsSL https://raw.githubusercontent.com/exto360-inc/faria-install/main/install.sh | bash -s -- --features chat
# Both features
curl -fsSL https://raw.githubusercontent.com/exto360-inc/faria-install/main/install.sh | bash -s -- --features all
# Interactive mode (prompts for options)
curl -fsSL https://raw.githubusercontent.com/exto360-inc/faria-install/main/install.sh | bash
# Download the installer
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/exto360-inc/faria-install/main/install.ps1" -OutFile "install.ps1"
# Basic installation (without LLM)
.\install.ps1 -NoLLM
# Full installation (with LLM)
.\install.ps1 -WithLLM
git clone https://github.com/exto360-inc/faria-install.git
cd faria-install
./install.sh --features idp
| Requirement | |
|---|---|
| OS | macOS 12+, Ubuntu 20.04+, Windows 10+ |
| RAM | 8 GB (16 GB recommended) |
| Disk | 2 GB (4 GB with Chat) |
| Python | 3.12 (for model export) |
| Platform | Architectures |
|---|---|
| macOS | arm64 (Apple Silicon), x86_64 (Intel) |
| Linux | x86_64, aarch64 |
| Windows | x64, arm64 |
| Component | Size | Description |
|---|---|---|
| OpenCV | - | Image processing (system install) |
| Tesseract OCR | 30 MB | Text extraction (system install) |
| Leptonica | - | Image library (system install) |
| MuPDF | - | PDF rendering (system install) |
| ONNX Runtime | 50 MB | Model inference engine |
| DETR Model | 350 MB | Document layout detection |
| Nemotron Model | 200 MB | Table structure recognition |
| Component | Size | Description |
|---|---|---|
| llama.cpp | 5 MB | LLM inference engine |
| Qwen 2.5 | 530 MB | Language model |
--features LIST Comma-separated list of features (idp, chat, all)
--install-dir PATH Installation directory (default: ~/.faria)
--gpu Enable CUDA support (Linux only)
--help Show help message
-InstallDir PATH Installation directory (default: %USERPROFILE%\.faria)
-GPU Enable GPU support (CUDA)
-WithLLM Install LLM components
-NoLLM Skip LLM components
-SkipTesseract Skip Tesseract if already installed
-Help Show help message
# IDP with GPU support (Linux)
./install.sh --features idp --gpu
# Custom installation directory
./install.sh --features all --install-dir /opt/faria
# IDP only (backward compatible)
./install.sh --no-llm
~/.faria/
├── bin/
│ └── llama-cli # LLM inference (Chat feature)
├── lib/
│ └── onnxruntime/
│ └── libonnxruntime.dylib # ONNX Runtime library
└── models/
├── detr_layout_detection.onnx # Layout detection (IDP)
├── nemotron_table_structure.onnx # Table structure (IDP)
└── qwen2.5-0.5b-instruct-q8_0.gguf # LLM model (Chat)
./scripts/verify.sh
After installation, use the Faria Go module:
go get github.com/exto360-inc/faria
package main
import "github.com/exto360-inc/faria"
func main() {
config := faria.DefaultConfig()
client, err := faria.New(config)
if err != nil {
panic(err)
}
defer client.Close()
// Process documents...
}
./scripts/uninstall.sh
Or manually:
rm -rf ~/.faria
Copyright (c) 2024 Exto360 Inc. All rights reserved. See LICENSE.
Dependency installer for Faria, a document processing library with ML-powered layout detection and table extraction.
# IDP only (Document Processing)
curl -fsSL https://raw.githubusercontent.com/exto360-inc/faria-install/main/install.sh | bash -s -- --features idp
# Chat only (Conversational AI)
curl -fsSL https://raw.githubusercontent.com/exto360-inc/faria-install/main/install.sh | bash -s -- --features chat
# Both features
curl -fsSL https://raw.githubusercontent.com/exto360-inc/faria-install/main/install.sh | bash -s -- --features all
# Interactive mode (prompts for options)
curl -fsSL https://raw.githubusercontent.com/exto360-inc/faria-install/main/install.sh | bash
# Download the installer
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/exto360-inc/faria-install/main/install.ps1" -OutFile "install.ps1"
# Basic installation (without LLM)
.\install.ps1 -NoLLM
# Full installation (with LLM)
.\install.ps1 -WithLLM
git clone https://github.com/exto360-inc/faria-install.git
cd faria-install
./install.sh --features idp
| Requirement | |
|---|---|
| OS | macOS 12+, Ubuntu 20.04+, Windows 10+ |
| RAM | 8 GB (16 GB recommended) |
| Disk | 2 GB (4 GB with Chat) |
| Python | 3.12 (for model export) |
| Platform | Architectures |
|---|---|
| macOS | arm64 (Apple Silicon), x86_64 (Intel) |
| Linux | x86_64, aarch64 |
| Windows | x64, arm64 |
| Component | Size | Description |
|---|---|---|
| OpenCV | - | Image processing (system install) |
| Tesseract OCR | 30 MB | Text extraction (system install) |
| Leptonica | - | Image library (system install) |
| MuPDF | - | PDF rendering (system install) |
| ONNX Runtime | 50 MB | Model inference engine |
| DETR Model | 350 MB | Document layout detection |
| Nemotron Model | 200 MB | Table structure recognition |
| Component | Size | Description |
|---|---|---|
| llama.cpp | 5 MB | LLM inference engine |
| Qwen 2.5 | 530 MB | Language model |
--features LIST Comma-separated list of features (idp, chat, all)
--install-dir PATH Installation directory (default: ~/.faria)
--gpu Enable CUDA support (Linux only)
--help Show help message
-InstallDir PATH Installation directory (default: %USERPROFILE%\.faria)
-GPU Enable GPU support (CUDA)
-WithLLM Install LLM components
-NoLLM Skip LLM components
-SkipTesseract Skip Tesseract if already installed
-Help Show help message
# IDP with GPU support (Linux)
./install.sh --features idp --gpu
# Custom installation directory
./install.sh --features all --install-dir /opt/faria
# IDP only (backward compatible)
./install.sh --no-llm
~/.faria/
├── bin/
│ └── llama-cli # LLM inference (Chat feature)
├── lib/
│ └── onnxruntime/
│ └── libonnxruntime.dylib # ONNX Runtime library
└── models/
├── detr_layout_detection.onnx # Layout detection (IDP)
├── nemotron_table_structure.onnx # Table structure (IDP)
└── qwen2.5-0.5b-instruct-q8_0.gguf # LLM model (Chat)
./scripts/verify.sh
After installation, use the Faria Go module:
go get github.com/exto360-inc/faria
package main
import "github.com/exto360-inc/faria"
func main() {
config := faria.DefaultConfig()
client, err := faria.New(config)
if err != nil {
panic(err)
}
defer client.Close()
// Process documents...
}
./scripts/uninstall.sh
Or manually:
rm -rf ~/.faria
Copyright (c) 2024 Exto360 Inc. All rights reserved. See LICENSE.