We propose a detection scheme for charged molecules or particles based on optically excited semiconductor nanopores. By means of numerical simulations, we show that the band gap of the semiconductor nanopore can be tuned allowing actuation by light. Molecules translocating through the semiconductor nanopore modulate the fluorescence from the nanopore enabling molecule detection. Our approach will enable us to perform a parallel readout of a translocating molecule without the need of chemical modification of the translocating molecules.