1 line
7.6 KiB
JSON
1 line
7.6 KiB
JSON
{"nodes": [{"id": "users_gurpreet_github_odoo_modules_fusion_accounting_ocr_services_ocr_providers_tesseract_adapter_py", "label": "tesseract_adapter.py", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ocr/services/ocr_providers/tesseract_adapter.py", "source_location": "L1"}, {"id": "tesseract_adapter_tesseractadapter", "label": "TesseractAdapter", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ocr/services/ocr_providers/tesseract_adapter.py", "source_location": "L19"}, {"id": "ocrprovider", "label": "OCRProvider", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "tesseract_adapter_is_available", "label": "is_available()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ocr/services/ocr_providers/tesseract_adapter.py", "source_location": "L23"}, {"id": "tesseract_adapter_tesseractadapter_extract", "label": ".extract()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ocr/services/ocr_providers/tesseract_adapter.py", "source_location": "L34"}, {"id": "tesseract_adapter_rationale_1", "label": "Tesseract OCR adapter. Uses the system tesseract binary via pytesseract, with p", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ocr/services/ocr_providers/tesseract_adapter.py", "source_location": "L1"}], "edges": [{"source": "users_gurpreet_github_odoo_modules_fusion_accounting_ocr_services_ocr_providers_tesseract_adapter_py", "target": "io", "relation": "imports", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ocr/services/ocr_providers/tesseract_adapter.py", "source_location": "L11", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_ocr_services_ocr_providers_tesseract_adapter_py", "target": "logging", "relation": "imports", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ocr/services/ocr_providers/tesseract_adapter.py", "source_location": "L12", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_ocr_services_ocr_providers_tesseract_adapter_py", "target": "users_gurpreet_github_odoo_modules_fusion_accounting_ocr_services_ocr_providers_base_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ocr/services/ocr_providers/tesseract_adapter.py", "source_location": "L14", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_ocr_services_ocr_providers_tesseract_adapter_py", "target": "tesseract_adapter_tesseractadapter", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ocr/services/ocr_providers/tesseract_adapter.py", "source_location": "L19", "weight": 1.0}, {"source": "tesseract_adapter_tesseractadapter", "target": "ocrprovider", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ocr/services/ocr_providers/tesseract_adapter.py", "source_location": "L19", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_ocr_services_ocr_providers_tesseract_adapter_py", "target": "tesseract_adapter_is_available", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ocr/services/ocr_providers/tesseract_adapter.py", "source_location": "L23", "weight": 1.0}, {"source": "tesseract_adapter_tesseractadapter", "target": "tesseract_adapter_tesseractadapter_extract", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ocr/services/ocr_providers/tesseract_adapter.py", "source_location": "L34", "weight": 1.0}, {"source": "tesseract_adapter_rationale_1", "target": "users_gurpreet_github_odoo_modules_fusion_accounting_ocr_services_ocr_providers_tesseract_adapter_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ocr/services/ocr_providers/tesseract_adapter.py", "source_location": "L1", "weight": 1.0}], "raw_calls": [{"caller_nid": "tesseract_adapter_is_available", "callee": "get_tesseract_version", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ocr/services/ocr_providers/tesseract_adapter.py", "source_location": "L28"}, {"caller_nid": "tesseract_adapter_is_available", "callee": "debug", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ocr/services/ocr_providers/tesseract_adapter.py", "source_location": "L31"}, {"caller_nid": "tesseract_adapter_tesseractadapter_extract", "callee": "convert_from_bytes", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ocr/services/ocr_providers/tesseract_adapter.py", "source_location": "L45"}, {"caller_nid": "tesseract_adapter_tesseractadapter_extract", "callee": "open", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ocr/services/ocr_providers/tesseract_adapter.py", "source_location": "L47"}, {"caller_nid": "tesseract_adapter_tesseractadapter_extract", "callee": "BytesIO", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ocr/services/ocr_providers/tesseract_adapter.py", "source_location": "L47"}, {"caller_nid": "tesseract_adapter_tesseractadapter_extract", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ocr/services/ocr_providers/tesseract_adapter.py", "source_location": "L52"}, {"caller_nid": "tesseract_adapter_tesseractadapter_extract", "callee": "image_to_string", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ocr/services/ocr_providers/tesseract_adapter.py", "source_location": "L52"}, {"caller_nid": "tesseract_adapter_tesseractadapter_extract", "callee": "join", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ocr/services/ocr_providers/tesseract_adapter.py", "source_location": "L53"}, {"caller_nid": "tesseract_adapter_tesseractadapter_extract", "callee": "min", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ocr/services/ocr_providers/tesseract_adapter.py", "source_location": "L59"}, {"caller_nid": "tesseract_adapter_tesseractadapter_extract", "callee": "len", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ocr/services/ocr_providers/tesseract_adapter.py", "source_location": "L59"}, {"caller_nid": "tesseract_adapter_tesseractadapter_extract", "callee": "OCRResult", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ocr/services/ocr_providers/tesseract_adapter.py", "source_location": "L60"}, {"caller_nid": "tesseract_adapter_tesseractadapter_extract", "callee": "len", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ocr/services/ocr_providers/tesseract_adapter.py", "source_location": "L63"}, {"caller_nid": "tesseract_adapter_tesseractadapter_extract", "callee": "warning", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ocr/services/ocr_providers/tesseract_adapter.py", "source_location": "L67"}, {"caller_nid": "tesseract_adapter_tesseractadapter_extract", "callee": "OCRResult", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ocr/services/ocr_providers/tesseract_adapter.py", "source_location": "L68"}, {"caller_nid": "tesseract_adapter_tesseractadapter_extract", "callee": "str", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ocr/services/ocr_providers/tesseract_adapter.py", "source_location": "L70"}]} |