🔍 Code Extractor

Search Components

Full-Text: Fast keyword matching | Semantic: AI-powered understanding of intent (finds similar concepts)

Search Results for "PIL"

Found 21 matching component(s)

  • class PDFConverter

    A class that converts various document formats (Word, PowerPoint, Excel, images) to PDF format using LibreOffice and ReportLab libraries.

    File: /tf/active/vicechatdev/msg_to_eml.py

    pdf conversion document-processing file-conversion libreoffice
  • class DocumentProcessor_v4

    Handles document processing and text extraction using llmsherpa (same approach as offline_docstore_multi_vice.py).

    File: /tf/active/vicechatdev/docchat/document_processor.py

    class documentprocessor
  • class DocumentProcessor_v8

    Process different document types for indexing

    File: /tf/active/vicechatdev/docchat/document_indexer.py

    class documentprocessor
  • class TestDocumentProcessor

    A test subclass of DocumentProcessor that simulates llmsherpa PDF processing failures and triggers OCR fallback mechanisms for testing purposes.

    File: /tf/active/vicechatdev/contract_validity_analyzer/test_ocr_fallback.py

    testing document-processing pdf ocr fallback
  • function create_signature_image

    Generates a synthetic signature image for a given name, either as stylized text or as a random hand-drawn curve, and saves it as a PNG file with transparent background.

    File: /tf/active/vicechatdev/document_auditor/generate_sample_signatures.py

    image-generation signature PIL graphics document-generation
  • function main_v44

    Generates sample signature images (PNG files) for a predefined list of names and saves them to a 'signatures' directory.

    File: /tf/active/vicechatdev/document_auditor/generate_sample_signatures.py

    signature-generation image-processing file-creation audit-system setup-utility
  • class DocumentConverter_v1

    A class that converts various document formats (Word, Excel, PowerPoint, images) to PDF format using LibreOffice, unoconv, or PIL.

    File: /tf/active/vicechatdev/document_auditor/src/document_converter.py

    document-conversion pdf file-processing office-documents image-to-pdf
  • class SignatureGenerator

    A class that generates signature-like images from text names using italic fonts and decorative flourishes.

    File: /tf/active/vicechatdev/document_auditor/src/utils/signature_generator.py

    image-generation signature PIL graphics text-rendering
  • class DocumentProcessor_v7

    Lightweight document processor for chat upload functionality

    File: /tf/active/vicechatdev/vice_ai/document_processor.py

    class documentprocessor
  • class PDFConverter_v1

    A comprehensive document-to-PDF converter class that handles multiple file formats (Word, Excel, PowerPoint, images) with multiple conversion methods and automatic fallbacks for reliability.

    File: /tf/active/vicechatdev/CDocs/utils/pdf_utils.py

    pdf conversion document-processing file-conversion word
  • class DocumentProcessor_v3

    A comprehensive PDF document processor that handles text extraction, OCR (Optical Character Recognition), layout analysis, table detection, and metadata extraction from PDF files.

    File: /tf/active/vicechatdev/invoice_extraction/core/document_processor.py

    pdf-processing ocr text-extraction document-processing invoice-processing
  • class DocumentAnalyzer

    Analyze PDF documents using OCR and LLM

    File: /tf/active/vicechatdev/mailsearch/document_analyzer.py

    class documentanalyzer
  • class Cassette_Printer

    A class that generates and saves cassette label images for printing by writing cassette information to a shared folder monitored by a Windows virtual PC.

    File: /tf/active/vicechatdev/resources/printers.py

    printing cassette label-generation neo4j database
  • class Zebra_Label

    Used to build a ZPL2 label and send a print commandline to a specified printer on a specified server. Notes ----- all dimensions are given in millimeters and automatically converted to printer dot units. Parameters ---------- height : int height of the label in mm. width : int width of the label in mm. dpmm : int dots per millimeter, 8.0 for 203 dpi, 12 for 300 dpi. server : str The server on which to print. queue : str The printer to print on. Attributes ---------- height : int height of the label in mm. width : int width of the label in mm. dpmm : int dots per millimeter, 8.0 for 203 dpi, 12 for 300 dpi. server : str The server on which to print. queue : str The printer to print on. code : str ZPL code string, each function adds to this and this is what is eventually send to the printer. graph : py2neo.Graph The connection to the database

    File: /tf/active/vicechatdev/resources/printers.py

    class zebra_label
  • class PDFGenerator

    A class that generates PDF documents optimized for e-ink displays, converting LLM responses and images into formatted, high-contrast PDFs with custom styling.

    File: /tf/active/vicechatdev/e-ink-llm/pdf_generator.py

    pdf-generation e-ink document-formatting reportlab image-processing
  • function create_handwritten_question

    Generates a synthetic handwritten-style question image about photosynthesis with formatted text and decorative elements, saved as a PNG file.

    File: /tf/active/vicechatdev/e-ink-llm/demo.py

    image-generation demo testing PIL Pillow
  • function create_instruction_diagram

    Generates a sample instructional diagram image showing step-by-step coffee making instructions with text, lines, shapes, and an arrow pointing to a coffee maker illustration.

    File: /tf/active/vicechatdev/e-ink-llm/demo.py

    image-generation PIL Pillow diagram instructions
  • function create_math_problem

    Generates a PNG image file containing a sample algebra math problem with workspace lines for solving.

    File: /tf/active/vicechatdev/e-ink-llm/demo.py

    image-generation PIL Pillow math-problem education
  • function create_test_image

    Creates a synthetic test image with text rendered in a handwritten-style font on a white background and saves it to disk.

    File: /tf/active/vicechatdev/e-ink-llm/test.py

    image-generation test-data PIL Pillow text-rendering
  • class InputProcessor

    A class that handles extraction and encoding of images from various input formats including PDFs (single or multi-page) and standard image files, converting them to base64-encoded strings with metadata.

    File: /tf/active/vicechatdev/e-ink-llm/input_processor.py

    image-processing pdf-extraction base64-encoding document-processing multi-page
  • class MultiPagePDFProcessor

    A class for processing multi-page PDF documents with context-aware analysis, OCR, and summarization capabilities.

    File: /tf/active/vicechatdev/e-ink-llm/multi_page_processor.py

    pdf-processing document-analysis ocr multi-page context-aware

Search Examples