Firstly there are somethings alredy exist to view your Ip webcamera, but when it comes to linux and mac there are some limitations which would be problem for windows applications. Ehen through you can get the IP webcam camera view by copying the url into the browser but it is a python code which I want to improve it further as of now it is basic one which can help to access the camera view from your IP webcams
- Python3
- Pip
- Ip webcam(on your mobile)
First Open your terminal/command line to clone this using
git clone https://github.com/karthikchary12/mbwebcam.git
Get into the directory
cd mbwebcam
Now install the required packages using the requirements.txt
pip install -r requirements.txt
You need to install a application know as IP webcam on your mobile
Open the application and scroll down where you can see Start Server
Agree to the camera permissions and you can see your camera view on the screen Now you should notedown your Ip url
Now open your mbwebcam folder and run the python file
python3 mbwebcam.py
NOTE(Mainly for Windows): If you faced any error while running the python file like ModuleNotFoundError for CV2 or imutils use the following commands
For CV2 use
python3 -m pip install opencv-python
For imutils use
python3 -m pip install imutils
Now you can run your python file without any errors
Now enter your noted url in it
Done you can get the mobile camera view on your pc