i did not get the question correctly, as far as i understood, this is the answer:
16f877a is a 8-bit PIC microcontroller designed for control application, so u can easily control the on-off or state control of the camera using normal port switching, also u can program when to do it. But the controller is not capable for image processing or capture, u need 16 or 32 bit MCU's.
U can try using dsPIC for processing/capturing and controlling both. Or also PIC32 for all in one solution. But with number of bits increases the power consumption and complexity of system, if u only need to control something 16F877a is good to go but if u want to process or capture as well, try using 16 or 32 bit MCU's