A Novel Transformer Architecture for Scalable Perovskite Thin-Film Detection | Synapse