Add access to the macbook camera for the terminal application
You can force your terminal to request access to your Camera.
I used the following commands (these are meant to click a picture from your MacBook's camera):
ffmpeg -f avfoundation -list_devices true -i &quot;&quot;
List the devices attached to your computer. Get the device ID of your camera

ffmpeg -ss 0.5 -f avfoundation -i &quot;0&quot; -t 1 capture.jpg
Capture the photo.

Although this did not click a picture (returned an error), but it did force the terminal to ask permission to access the Camera.
P.S: You need to have the ffmpeg package installed. You can do brew install ffmpeg
I got these commands from this stackoverflow answer
Update by Question Asker  This does work and here is the screenshot