DroidCam turns your Android device into a webcam. The app works with a PC client that connects the computer with your phone.
This script makes installing DroidCam easier on The RaspberryPi
Installation Steps:
To install manually
To manually install DroidCam:sudo apt install cmake raspberrypi-kernel-headers libplist-dev libavutil-dev libswscale-dev libswscale-dev libspeex-dev libusbmuxd-dev libasound2-dev libappindicator3-dev make gcc pkg-config
git clone https://github.com/open-sorcerer64/Droid-Cam-RPi.git
cd Droid-Cam-RPi
sudo dpkg -i libjpeg-turbo_2.1.3_armhf.deb
sudo bash install.sh