hey,im doing a school project .I WANT A PYTHON CODE TO CREATE A TEMPLATE WHICH TAKES A PICTURE OF A PESONS FACE THEN CONVERT IT TO A PNG(remove face from the pic) THEN REPLACE THAT FACE WITH A GIVEN VIDEO’S FACE . IT SHOULD NOT BE A DEEP FAKED VIDEO.
Please do not write in ALL CAPS, it is being considered rude.
The most complicated part of the application will be detection of a face. There are existing libraries with this functionality. You can probably start here: