Labeling by spiral codes for invariant recognition of garbage bags