Zaslat SMS: Class-based grouping in perspective images