I hate it when parrots get stuck inside my camera. I've found that they like to eat fruit and nuts, so I lured mine out with some Cadbury's Fruit & Nut as it was the closest thing I had. However, if the parrot is actually appearing in the camera footage, there's not much you can do to physically remove it afterwards. In that case, I would suggest Adobe Photoshop or similar software.
Also, apart from the fruit and nuts idea, I would suggest trying to redirect the parrot's attention elsewhere by placing some toys or treats outside of the camera's view.
Alternatively, you could try temporarily covering the camera with a cloth or piece of paper to block the parrot's view and encourage it to move on to other activities. It's important to remember to remove the covering once the parrot has moved on, to avoid obstructing the camera's view permanently.
If these strategies don't work, it might be necessary to seek the help of a professional animal handler or wildlife expert to safely remove the parrot from the camera's vicinity. In any case, it's important to ensure the parrot's well-being and avoid harming the animal in any way.
Hope this helps.