Esp32-cam control ir cut filter for night vision

I’m using a esp32-cam on my robotic mower and I would like to add a cut filter on it to be able to have night vision. I have this cut filter what more would I need to be able to control it with the esp32? I need to be able to change the ground and 3.3v to move the filter.

The AliExpress page for that filter says this:

Drive voltage: Operating voltage: 4-12V

In which case, you’d need to use the USB / 5VDC from the USB connector to fire the filter. As the outputs of the ESP32 are only 3.3VDC, you’d need to add a relay.

USB/5VDC as input to the relay
NO (normally open) contact of relay to the IR filter
GPIO pin to switch relay on/off
GROUND to relay to complete the circuit
GROUND to ir filter to complete the circuit