Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Diagram read best practices #47

Open
Murat1990 opened this issue Nov 5, 2024 · 0 comments
Open

Diagram read best practices #47

Murat1990 opened this issue Nov 5, 2024 · 0 comments

Comments

@Murat1990
Copy link

Hi team,

I'm working on improving our threat modeling application's diagram processing capabilities. Currently facing challenges with:

  1. OCR limitations in accurately extracting information from architecture diagrams
  2. Inconsistent results when processing PDF/JPG/PNG formats
  3. Loss of structural information when converting diagrams to text

I've heard DSL (Domain Specific Language) might be a better approach. Looking for recommendations on:

  • Alternative approaches to diagram processing beyond OCR
  • Best practices for maintaining diagram structure during processing
  • Tools/libraries for parsing architecture diagrams programmatically
  • Experience with DSL-based solutions (pros/cons)

Current stack:

  • Python/AWS Bedrock/Claude
  • Image processing: Pillow, pytesseract
  • Input formats: PDF, JPG, PNG

Would appreciate any insights from those who've tackled similar challenges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant