Anfonwch hwn fel neges destun: Class-based grouping in perspective images