Single-function optoelectronic devices are inherently limited in meeting the increasing demands of integrated sensing and processing in advanced machine vision systems. To address this challenge, a bias-tunable multifunctional two-terminal optoelectronic device based on a TiOxNy/NbOzheterojunction is demonstrated. The proposed device enables dual-functional operation within a compact architecture: it operates as a self-powered photodetector (PD) under ultraviolet illumination at zero bias, and exhibits optoelectronic synaptic behavior under a low bias of 100 mV. This bias-controlled functional switching allows the unified realization of optical sensing and neuromorphic processing within a single device. Furthermore, we have validated its capability for image perception and recognition through simulation. The proposed approach provides a scalable and energy-efficient pathway toward multifunctional optoelectronic devices for next-generation intelligent vision systems.