Is there any way to pass mock image instead of taking a photo?

Hello all,

I’m going to start automation testing for a mobile application, but in the login step, I have to take a passport photo from camera. Is there any way to send a fake image instead of taking a real photo?

My stack is: python, pytest, appium

Thanks in advance!