Droidcam is a tool for Android and PC that will allow you to use your mobile phone as a PC webcam. This app, with a complex configuration, perfectly shows on your PC the image taken by the mobile phone's camera. The free version of DroidCam lets you access basic functions, although you cannot improve the image resolution.
How to install and configure DroidCam on your mobile phone and PC
To use DroidCam, it is necessary to install the Android app and the PC client.If you want to connect your mobile phone's webcam to your PC, you can choose between WIFI, Ethernet or USB. The USB option is the most advisable, although it needs to grant certain permissions to the mobile phone. We advice you to read the official guide or this tutorial as a guide to the installation of DroidCam.'