Not able to access camera on application deployed on heroku

Me and my friends build this project on face detection and tracking using opencv,flask, python and mediapipe. We deployed our project on Heroku (https://face1-detection.herokuapp.com/) but found out that video = VideoCapture(0) does not work when hosted. I tried searching on Stackoverflow but they did not worked for me. I am just beginner in socket.io and other such stuff.I have no idea regarding how to solved this problem.
Please help me to resolve this issue. It helps a lot.
Thank you.