By manipulating the interfacial barrier of CeO2/SrTiO3 heterostructure via oxygen stoichiometry, Li et al. report continuous linear control of the photoresponsivity in both positive and negative directions. The reconfigurable visible blind UV photodetector arrays are applied for in-sensor computing.