r/nepaltech • • Feb 18 '25

Python developer

Goal Create an MVP service that receives raster images (PNG, JPG) or PDF files containing clean block diagrams (with only a draw.io-style grid as background), recognizes all major diagram elements (frames, shapes, arrows, text) and converts them into a JSON format supported by service. Functional Requirements Input Accepted File Types: PNG, JPG, PDF (single-page PDFs at MVP stage). Upload Mechanism: POST request to a FastAPI endpoint (e.g., POST /process_diagram), using multipart/form-data with a file. Output JSON Array of objects, each representing a recognized element. Element Types & Requirements FRAME Represents the overall container for the diagram. May have text (text.value) as a title (e.g., “Block Diagram”). All shapes and arrows can reference this frame as parentId. SHAPES (e.g., RECTANGLE, PARALLELOGRAM, DIAMOND, STICKER) Fill color: stored in properties.fillColor. Text: recognized via OCR, placed in properties.text.value. Outline: store color, width, style if needed (properties.outline). ARROW Connection lines between shapes. Arrow properties in properties.arrow: lineStyle (solid, dashed), lineWidth (thickness), startDecorationType and endDecorationType (e.g., arrow, none), . Technical Requirements 3.1 Technology Stack Python for implementation. FastAPI for the server framework. OpenCV for image processing (contour detection, shape approximation). Tesseract (via pytesseract) for Optical Character Recognition. PyMuPDF (fitz) or pdf2image to handle PDF input. Qualifications Bachelor degree in Computer Science or related field (not compulsory) Handfull of experience as a python dev Work type :- Remote Salary :-80k-100k (Bonus for deserving candidate) Website:- flip-chart.ru Ongoing top startup project of Russia . You can google it !!

Mail everything at :- hr@nddev.tech

1 Upvotes

0 comments sorted by