Activating python program through wifi

I want to know if a wifi switch such as ESP8266 5V WiFi relay module can activate a facial recognition program on the jetson nano. I do not know if this relay module requires an arduino board or not. Please let me know if there are some guides you can refer me to because i am fairly new to programming. I am trying to design a security system that can lock and unlock a door with a face scanner. I plan on using this wifi switch as a doorbell to trigger the software through wifi all while recording and collecting footage using NVR software and an IP camera. Do you think a Nano is powerful enough to handle this design and do i need another module besides the ESP8266 wifi relay?