Գրեք սա: Class-based grouping in perspective images