The project monitors the construction progress at a construction site.
The script takes in a video input of the construction site, frame by frame. Based on the changes in the pixel intensities the progress of the construction site is monitored. For this script, my region of interest had pixels which were roughly yellow in color therefore I chose relevant pixel boundaries as a check to monitor the progress.
- python 3
conda create -n env_name python=3.6
- cv2
conda install -c conda-forge opencv
- numpy
conda install -c anaconda numpy
The region of interest that is to be monitored can be selected by drawing a bounding box or elsewise a polygon of any shape that can help us to monitor the construction area more closely. The accurate parameters of the polygon can be selected particularly in this project using the Find_coordinates.py which takes in an input image and based on the curser clicks, you can get the image coordinates of the region of interest.
The upper and lower limits for pixels of a particular colour intensity is set, to be checked against the pixels values inside of the region of interest. You can use the script main.py, which reads a video frame by frame whereas the limits of colour intensity and region of interest can be changed as per the need. The script outputs the progress of the construction area that is within the region of interest.