There is a hardware interface on the industrial camera. You need to go to the camera official website to find the corresponding product manual, find out which pin is the trigger signal line, and directly connect it to the MCU IO.
The default of industrial camera is soft trigger, so you need to install the official software of industrial camera on the computer to set it, change it to hard trigger, specify the trigger line and save it.