Text this: Identification of solar coronal loops based on moments of image