Screen Detection in a dark room (desktop/laptop/mobile/other led screen ):
1. Median filtering the image to remove noise
2. Finding edges MASK
3. Dilate mask with disk
4. Smoothing image to reduce the number of connected components
5. Finding the regionprops and drawing Bounding Box
Ashadullah Shawon (2019). Screen Detection in a Dark Room (https://www.mathworks.com/matlabcentral/fileexchange/72173-screen-detection-in-a-dark-room), MATLAB Central File Exchange. Retrieved .
Provided Input and Output Images