The objectives of the experiment are to develop a system for land categorization and classification system of satellite photos from Raspberry Pi NoIR camera. Such technologies (but on a bigger scale) would also allow analysing unknown land and easy constructions of rudimentary maps on less discovered places on Earth or analysing land of newly discovered planets, as well as navigation systems based on land images.
Our algorithm uses OpenCV’s Python library and Numpy to process images. For every photo, it uses colour-based classification functions to generate grayscale masks for clouds, oceans, and land, as well as edge detection. We decided to use OpenCV’s threshold with a value between 185 and 255 for cloud detection, ocean mask was detected with checking if red and green components of each pixel were smaller than blue one, and land mask additionally checked that all three components are similar enough.
Program takes all photos in directory, process each of them in separate proc