Posts

Showing posts with the label Neural Network

Image Weather Classification

Image
CNN based weather classifier Convolutional Neural Network also known as CNN are of grate use when it comes to image data. They can be used to get both low level features and high level features. CNN are used in many places now and is future of robotics. uses of CNN Robotic Vision Biometric identification object detection and tracking Self Driving Car Object Identification We are going to classify weather images using Convolutional Neural Network.  This task can be performed in multiple ways and we are going to classify weather using regression network. The Network I have created is given below. python libraries required numpy os glob OpenCV Tensorflow keras Pands Matplotlib For weather classification problem download the dataset from link( link )   Dataset description number of images 1025 size of images variable labels are mentioned in the name of images number of labels 4 ['cloudy' , 'rain', 'shine', 'sunrise'] Create a file labelgenerator.py to genera...

Convolutional network based Classification

Image
CNN based weather classifier CNN(convolutional neural network) are very powerful Computation Weapon made by multiple mathematical processes. CNN can be used by robots to see environment through camera and understand the state of environment. A single layer of CNN works as a filter much like gaussian blur or edge detector filters and when they are used in multiple layers they can understand much  more than just color or shape, they can understand story of the image and today we are going to learn how to train a CNN to predict weather through image. Weather-CNN Before we start make sure you have tensorflow,keras,OpenCV, Matplotlib and pandas. we have to download dataset for wether images. Link to image dataset link(https://md-datasets-public-files-prod.s3.eu-west-1.amazonaws.com/64a54851-f95a-439d-aff7-3334a684e532) dataset consist of 1025 images of weather, it consist of 4 labels 'cloudy','rain','shine','sunrise', image shape varies. Import dataset, read ...