extract_sketch_to_gis
Digitize hand-drawn sketches: align photo to map layout, extract ink color, georeference vectors, and append polygon/polyline features to a geodatabase.
Instructions
Sketch-to-GIS pipeline: align a smartphone photo of a hand-drawn sketch onto its printed map layout (ORB+RANSAC homography), extract the requested ink color (HSV segmentation), georeference the vectors using the layout envelope, and append Polygon/Polyline features into an existing GDB feature class. APPENDS rows — requires confirm=true. Worker env needs: pip install opencv-python-headless numpy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||