I want to create a face tracking system similar to this:
My question is about which motor to use. In this example, the camera moves up and down using an MG995 Servo and moves left and right using a 28BYJ-48 Stepper Motor.
Wouldn't it be better to use two stepper motors instead?
Thanks if someone can explain to me what would be a good solution
Servo motors have built-in feedback so they know what absolute angle they are pointing in at all times. Stepper motors need additional external feedback circuit.
Servos are also easier to drive. They have built-in drivers and are controlled by a single wire. Steppers need an external driver circuit and at least 2, sometimes 4 wires to drive them.
A limitation of servos is that most of them will turn through maximum of 180 degrees. Some will turn 270 degrees. This limitation can be overcome with additional gears.
EDIT: I suppose the camera and the facial recognition software is the feedback circuit in this case, so stepper motors could be used.
I looked quickly at the youtube site where the video is posted.
I think you should look longer into what and how they accomplished this. I suspect they put some thought into their decision to use two different motors.
It prolly wasn't because they had one servo and one stepper motor handy.
This is project of some complexity. You will either slavishly reproduce the exact same thing, which may be unsatisfactory, or deviate from a known good design and have the fun that will be some real challenges doing.