Computer vision and automated image processing for electrical AFM in 2D materials