proplem of code

Job ID: 33283694

Budget: $10 – $30 USD

I have a problem with the code and I could not solve it. I would like to add an ultrasonic sensor with the esp32-cam piece in this code. It has not been connected, what is the solution, and I also want to replace the code instead of the picture take video