extract_sketch_to_gis
Aligns a smartphone photo of a hand-drawn sketch to a digital map layout, extracts specified ink color, georeferences vectors, and appends polygon or polyline features to an existing geodatabase feature class.
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 | |||