Good Day Sidarthasharma,
Please proceed with these steps.
-Press Windows key + X
-Go to Settings
-Click Update and Security
-Click Troubleshooter then Additional troubleshooter.
-Look for Windows Store Apps and run the troubleshooter.
-Press Windows key + X
-Click Windows Powershell Admin
-Copy and paste each of the commands below and hit Enter
Get-AppxPackage -AllUsers| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *WindowsCamera*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
If you are getting errors when you enter those commands , that is fine, restart your computer after and check the camera.
You can also manually install the app using this link below.
https://www.microsoft.com/en-us/p/windows-camer...
Have a wonderful day ahead and stay safe.
Sincerely,
Carlo T.