P&ID Line Detection Dataset This dataset contains cropped images from P&ID (Piping and Instrumentation Diagrams) with line segment annotations for line detection and segmentation tasks. Dataset Description Total source images: 500 Total cropped samples: 10,000 Total line segments: 87,908 Crops per image: 20 Image sizes: Various sizes under 1000px (e.g., 300x500, 512x768, 900x900) Dataset Splits The dataset is split by source image to prevent data leakage: Split Source Images Samples Line Segments Train 400 (80%) 8,000 69,483 Validation 50 (10%) 1,000 9,485 Test 50 (10%) 1,000 8,940 Dataset Structure Each sample contains: file name : Image filename source image idx : Index of the original P&ID image crop idx : Index of this crop from the source image width : Crop width in pixels height : Crop height in pixels lines : Dictionary with: segments : List of line segments as [x1, y1, x2, y2] (start and end points) line types : List of line types ("solid" or "dashed") pipelines : List of pipeline names for each line Usage Visualizer A built in visualizer is included to explore the dataset: Then open http://localhost:5051 in your browser. Line Segment Format Each line segment is represented…
We use cookies for essential functionality and analytics. You can accept or reject analytics cookies.Cookie policy