<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[WarmthOfImage - Medium]]></title>
        <description><![CDATA[Our Machine Learning project’s blog page. The name of our project is “Warmth Of Image” and official name is “Weather Prediction From Image”. In our project, we aim to predict weather condition in given image/picture by using advanced algorithms and various descriptors or features - Medium]]></description>
        <link>https://medium.com/warmthofimage?source=rss----ea8807d89dc4---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>WarmthOfImage - Medium</title>
            <link>https://medium.com/warmthofimage?source=rss----ea8807d89dc4---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 09:58:18 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/warmthofimage" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Week 8— Warmth of Image]]></title>
            <link>https://medium.com/warmthofimage/week-7-warmth-of-image-17a994f90567?source=rss----ea8807d89dc4---4</link>
            <guid isPermaLink="false">https://medium.com/p/17a994f90567</guid>
            <category><![CDATA[classification]]></category>
            <category><![CDATA[weather]]></category>
            <category><![CDATA[neural-networks]]></category>
            <category><![CDATA[image-processing]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Berk Gülay]]></dc:creator>
            <pubDate>Mon, 12 Feb 2018 21:06:30 GMT</pubDate>
            <atom:updated>2021-11-16T01:54:14.673Z</atom:updated>
            <content:encoded><![CDATA[<p>Title: Weather Condition Prediction from Image</p><p>Team Members: Berk GÜLAY, Samet KALKAN, Mert SÜRÜCÜOĞLU</p><p>E-mails Respectively: <a href="/service/mailto:berkgulay.cs@gmail.com">berkgulay.cs@gmail.com</a> , <a href="/service/mailto:abdulsametkalkan@gmail.com">abdulsametkalkan@gmail.com</a> , <a href="/service/mailto:mertsurucuogluu@gmail.com">mertsurucuogluu@gmail.com</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*5NbGLbzTbbLDm7uN6XHEsg.jpeg" /></figure><p>Welcome to our latest blog post!</p><p>Finally, we have completed our project and obtained our latest results (at least for now). :) Before I mention our results and conclusions, I want to give a short info about our latest works from this week and previous weeks. Moreover I am also sure about that you wonder answers of those questions, What will be next?, In which platforms you can follow us? or Where can you find our latest works, datasets, papers?</p><p>Let me briefly explain all. Over the previous weeks, alongside of completing and comparing our results from different algorithms, architectures and methods, we also prepared a short introductory video presentation for our project. We gathered our conclusions together , tuned our results and arranged all to present you. We organised our codes, dataset, CNN models and extracted feature models to share as well. We wrote a final paper to explain all details which we got over.</p><p>Good news!!! We also opened our codes to you and you can follow us on Github as well. Next, we will be organizing our codes, manuals and introductory stuff on Github. Furthermore we will gather all of our blog posts together on our own Medium publication and you can find this Medium page in Github-Readme of our project later. Another good news from Twitter, “Deep Learning Turkey” page mentioned about our blog posts and did retweet our videos with our requests on their page.</p><h3>Deep Learning Türkiye on Twitter</h3><p>TÜRKİYE&#39;DE #yapayzeka ÇALIŞMALARI: Hacettepe Üniversitesi&#39;nde verilen Makine Öğrenmesine Giriş (Introduction to Machine Learning) dersinin Medium blogu var. Bu dönemki dersin teması &quot;Makine Öğrenmesi ve Şehir&quot;. https://t.co/CtsXTzt2E4 @aykuterdem @Hacettepe1967 https://t.co/QlmvtQoOFk</p><p>Github (Please follow us there!) :)</p><p><a href="https://github.com/berkgulay/weather-prediction-from-image">GitHub - berkgulay/weather-prediction-from-image: ML project to predict weather condition in given image</a></p><p>Introductory Video Presentation :</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FTdzUGoS2F80%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DTdzUGoS2F80&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FTdzUGoS2F80%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/1e61bab1b47085d868069d764cec591a/href">https://medium.com/media/1e61bab1b47085d868069d764cec591a/href</a></iframe><p>Here our Project Paper ( with ins and outs ;) )</p><p><a href="https://drive.google.com/open?id=1HFyAUvnkS61Xat9cUBAhG-4hvwR1T8lb">final_report.pdf</a></p><p>Let me also briefly show our results and talk about our conclusions after all of these works;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*mfYZcIsmiYjEXtKn-Y8eLg.jpeg" /><figcaption><strong>This is our latest CNN architecture which gives best result.</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CpzGQlIBqQwYOSVoKMr8zw.png" /><figcaption><strong>Our best results. These two algorithms with shown architectures overperform.</strong></figcaption></figure><p>Some of our test results with respective images,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/657/1*0WHw3RLI4el-Q5gHAMwSGA.png" /><figcaption>Different test image’s classification results using CNN architecture shown above</figcaption></figure><p>And lastly our conclusions at the end of Warmth Of Image project…</p><ul><li>In this work, we used supervised learning methods which are Convolutional Neural Network(CNN), Support Vector Machine, Decision Tree and Random Forest for image classification. CNN gives the best result with %64.63 and Random forest gives close and another best accuracy with %63.90. Also RF is really time efficient and easy to perform with right feature models. Other methods(DT or SVM) are not good enough for our task and slower.</li><li>The hardest part is trying CNN architectures, because there are so many variations and trying each architecture takes too long(high time cost). If we had strong GPUs, we could try more different architecture and find better architectures maybe.</li><li>Random Forest works faster(really time efficient and can be used in real time applications) and gives good generalized results at the end.</li><li>For image description right features and methodologies lead really good results and in future works other descriptors can be researched and used.</li><li>Cloudy class is tricky and hard to distinguish from other classes because all other weather conditions also include clouds. Taking it out or change with another air type may produce way better weather classification performance.</li><li>Even if rain detection is hard to perform task, we could succeed it for most of the cases.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=17a994f90567" width="1" height="1" alt=""><hr><p><a href="https://medium.com/warmthofimage/week-7-warmth-of-image-17a994f90567">Week 8— Warmth of Image</a> was originally published in <a href="https://medium.com/warmthofimage">WarmthOfImage</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 6-Warmth Of Image]]></title>
            <link>https://medium.com/warmthofimage/week-6-warmth-of-image-84ffa83fb937?source=rss----ea8807d89dc4---4</link>
            <guid isPermaLink="false">https://medium.com/p/84ffa83fb937</guid>
            <category><![CDATA[image-recognition]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[image-processing]]></category>
            <category><![CDATA[weather]]></category>
            <dc:creator><![CDATA[Mert Surucuoglu]]></dc:creator>
            <pubDate>Fri, 09 Feb 2018 20:58:03 GMT</pubDate>
            <atom:updated>2018-02-09T20:58:03.424Z</atom:updated>
            <content:encoded><![CDATA[<p><strong><em>Title:</em></strong> Weather Condition Prediction from Image</p><p><strong><em>Team Members:</em></strong> Berk GÜLAY, Samet KALKAN, Mert SÜRÜCÜOĞLU</p><p><strong><em>Emails Respectively: </em></strong>berkgulay.cs@gmail.com, abdulsametkalkan@gmail.com, mertsurucuogluu@gmail.com</p><p>In the previous week, we explained the progress of the project. And we show our methodology. Lastly, we show the collected results.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TOHi97PQaMa2m0pVDnmqsA.jpeg" /></figure><p>In this week, we have prepared a project presentation. We have already finished most of the work. Creating a dataset, a feature extracting and testing it with CNN Decision Tree, Random Forest, and SVM. And we explained everything about the project in the presentation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/957/1*2G5ljmCm4y6fAcERbD3k0A.png" /><figcaption>CNN architecture</figcaption></figure><p>At the end of the work, we saw that CNN and Random Forest Classifiers gave best overall and class-based accuracy scores. Decision Tree Classifier did not disgrace but slower than Random Forest. So was not worth to use. SVM did not fit our problem for real. It gave bumpy results, not fast, not cost efficient. Color Histogram, Brightness, Contrast, Sharpness and Haze metrics gave good performance since Random Forests gave also very well accuracy results using these features.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vwcT1D8KvC4wlDUevfKm8g.png" /><figcaption>Random Forest visualisation by using graphviz.</figcaption></figure><p>We obtained that, the cloudy class is tricky for our problem. Because every weather condition can have cloudy views as well. Our foresight is abstracting cloud class and integrating another class like thunder/storm would increase class based and overall accuracy far preponderant.</p><h4>Our Best Results</h4><p>For Random Forest we got, <strong>Cloudy</strong>~ %56, <strong>Sunny</strong>~ %76.5, <strong>Rainy</strong>~ %65, <strong>Snowy</strong>~ %60, <strong>Foggy</strong>~ %60, <strong>Overall</strong>~ %64</p><p>For CNN we got, <strong>Cloudy</strong>~ %45, <strong>Sunny</strong>~ %73.3, <strong>Rainy</strong>~ %61, <strong>Snowy</strong>~ %70, <strong>Foggy</strong>~ %70, <strong>Overall</strong>~ %65</p><p>We didn’t start to write the Final Report yet. Hopefully, in the next week, we will be writing our Final Report. We are really excited to see a last version of the work.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=84ffa83fb937" width="1" height="1" alt=""><hr><p><a href="https://medium.com/warmthofimage/week-6-warmth-of-image-84ffa83fb937">Week 6-Warmth Of Image</a> was originally published in <a href="https://medium.com/warmthofimage">WarmthOfImage</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 5 — Warmth of Image]]></title>
            <link>https://medium.com/warmthofimage/week-5-warmth-of-image-4808b60f03c7?source=rss----ea8807d89dc4---4</link>
            <guid isPermaLink="false">https://medium.com/p/4808b60f03c7</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[random-forest]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[weather]]></category>
            <category><![CDATA[image-processing]]></category>
            <dc:creator><![CDATA[Mert Surucuoglu]]></dc:creator>
            <pubDate>Fri, 09 Feb 2018 20:54:44 GMT</pubDate>
            <atom:updated>2018-02-09T20:54:02.879Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Title:</strong> Weather Condition Prediction from Image</p><p><strong><em>Team Members:</em></strong> Berk GÜLAY, Samet KALKAN, Mert SÜRÜCÜOĞLU</p><p><strong><em>E-mails Respectively: </em></strong>berkgulay.cs@gmail.com , abdulsametkalkan@gmail.com , mertsurucuogluu@gmail.com</p><p>We have approximately 6500 datas. Each data consists of matrix of image with RGB values and we splitted them into training and validation data with %25 ratio.</p><p>I built so many CNN architecture and tried them to obtain the best results. I trained images with different sizes like 20x20, 50x50 and 100x100. Besides general accuracy for validation data, I also printed accuracy of each class separately. To do that I split validation data into 5 parts which represents the classes. There are some trials with architecture of network below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*Xj6wSRh9SjT-v44fcniZbQ.png" /><figcaption>CNN with 6 Layers</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/605/1*ZFzErKym5SccUA9FuhnWzg.png" /><figcaption>Loss Function-1</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/621/1*I4gfeNWPZ-6CJner_viobQ.png" /><figcaption>CNN with 7 layers</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/605/1*E55nhfOMk-Spg6qhwYtjkw.png" /><figcaption>Loss Function-2</figcaption></figure><p>The last one is the best among the 20 trials.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/623/1*gI1H7vwBQ_IH5Z03HZ6WFQ.png" /><figcaption>CNN with 6 layers</figcaption></figure><p>Each train data is trained in about 10 minutes. But the last one took 30 minutes. Because its size is 100x100x3. Since there are so many variation, I couldn’t try all. I think this good result for us.</p><p>While I use CNN method, my groupmates have tried to extract features from image to use SVM and DT. Most difficult problem for us is to extract feature. We still try to extract feature, because we encounter many errors while extracting feature. But we have obtained some results so far.</p><p>Results of Decision Tree:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/364/1*NeX4z6qwg6YsS5tiN-6Rww.png" /><figcaption>Trial-1</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/362/1*BJycLrEsVR6B37llTrvlTg.png" /><figcaption>Trial-2</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/357/1*7bSHF4fLeMYe4xPr5opWEg.png" /><figcaption>Trial-3</figcaption></figure><p>And result for Random Forest</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/630/1*KEiXsAAmiMfZgI4Yy82FwQ.png" /></figure><p>So, since there are so many variation, we need more time to try other variations.</p><p>I hope next week we finish the project and obtain good results for all machine learning methods.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4808b60f03c7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/warmthofimage/week-5-warmth-of-image-4808b60f03c7">Week 5 — Warmth of Image</a> was originally published in <a href="https://medium.com/warmthofimage">WarmthOfImage</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 4— Warmth of Image]]></title>
            <link>https://medium.com/warmthofimage/week-4-warmth-of-image-6f1a796dec9?source=rss----ea8807d89dc4---4</link>
            <guid isPermaLink="false">https://medium.com/p/6f1a796dec9</guid>
            <category><![CDATA[weather]]></category>
            <category><![CDATA[classification]]></category>
            <category><![CDATA[image-recognition]]></category>
            <category><![CDATA[neural-networks]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Berk Gülay]]></dc:creator>
            <pubDate>Fri, 09 Feb 2018 07:40:26 GMT</pubDate>
            <atom:updated>2017-12-16T05:28:31.206Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/375/1*iPAEOg0b4IWbLoN0dpg4Xw.jpeg" /><figcaption>Snowy Image</figcaption></figure><p><strong><em>Title:</em></strong> Weather Condition Prediction from Image</p><p><strong><em>Team Members:</em></strong> Berk GÜLAY, Samet KALKAN, Mert SÜRÜCÜOĞLU</p><p><strong><em>E-mails Respectively: </em></strong>berkgulay.cs@gmail.com , abdulsametkalkan@gmail.com , mertsurucuogluu@gmail.com</p><p>Welcome again to our blog post about 4th week of our project . We salute you from a new and promising week in our side.</p><p>This week, we could leastwise see about horizon of our project. Eventually we could form/arange and get into use all “Warmth of Image” dataset as we want(cropped/standart , test/validation/train , eliminated and balanced for each class, combined etc.). We took preliminary results from Convolutional Neural Network algorithms using “Keras”. Our image dataset’s cropped part gave approximately %79 accuracy with Convolution layers using Neural Nets.</p><p><strong><em>Architecture for first trial of CNN:</em></strong> 2 convolution layer and a pooling layer, drop-out method usage, 1 fully connected NN for classification part, softmax layer</p><p><strong><em>Used dataset info:</em></strong> 50*50 cropped images from each class (cloudy,sunny,rainy,snowy,foggy) and total 15.000 images approximately.</p><p><strong><em>Preliminary Result of CNN :</em></strong> ~ % 79 accuracy for validation data</p><p>Another progress that we also noticed is hardness of snowy view classification. Actually we are trying to use Intensity Histograms(white pixel density) to separate snowy pictures/views but since cloud or sky frames also give similar white pixel dense areas, we could not separate sky segments and snowy areas from each other(check example images below) even if we try different segmentation algorithms(Otsu/Watershed etc.) or hand-crafted tools(Edge Detectors etc.). We are trying to figure out how to separate sky area and snowy parts from each other and determine white pixel density for snowy area segmentation only.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*YwBtB5XoElhMz9HEwQfsiw.jpeg" /><figcaption>An example hard case image which we face with while trying to segment snowy area &amp; sky</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/375/1*8HYyWPiHPXcsdJ84OIXr4A.jpeg" /><figcaption>An example hard case image which we face with while trying to segment snowy area &amp; sky</figcaption></figure><p>Hopefully we will figure out how to use intensity histograms/white pixel density feature for snowy image detection.</p><p>We constructed our feature-set to classify images according to their weather condition type as well. We are planning to use color histogram, brightness, contrast, haze, sharpness, intensity histogram(white pixel density) and sky region metrics as image descriptors for weather condition recognition problem. Moreover, we did not only hypothetically create our feature-set but also we researched related works/projects for our problem and found ways to calculate and measure these metrics combination efficiently.</p><p>Lastly we are using and trying different frameworks and tools for our project(like Keras, Libsvm, Scikit-learn, Scikit-image, opencv etc.) so as to determine efficient and beneficial methodologies and algorithms in our problem. Related works and other papers on similar recognition problems help so much while discovering new pathways.</p><p>Wait to inform you next weeks and you are always welcome to contact with as about any part of our project. All assistances will be highly appreciated. (“Warmth of Image” Team)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6f1a796dec9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/warmthofimage/week-4-warmth-of-image-6f1a796dec9">Week 4— Warmth of Image</a> was originally published in <a href="https://medium.com/warmthofimage">WarmthOfImage</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 3 — Warmth of Image]]></title>
            <link>https://medium.com/warmthofimage/week-3-warmth-of-image-a3dd91a77fec?source=rss----ea8807d89dc4---4</link>
            <guid isPermaLink="false">https://medium.com/p/a3dd91a77fec</guid>
            <category><![CDATA[image-classification]]></category>
            <category><![CDATA[weather]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[image-processing]]></category>
            <dc:creator><![CDATA[Mert Surucuoglu]]></dc:creator>
            <pubDate>Thu, 08 Feb 2018 12:25:33 GMT</pubDate>
            <atom:updated>2018-02-08T12:25:32.912Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong><em>Title:</em></strong> Weather Condition Prediction from Image</h3><p><strong><em>Team Members:</em></strong> Berk GÜLAY, Samet KALKAN, Mert SÜRÜCÜOĞLU</p><p><strong><em>E-mails Respectively: </em></strong>berkgulay.cs@gmail.com, abdulsametkalkan@gmail.com, mertsurucuogluu@gmail.com</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q2XBu7l2a-3Shw4MVWKx_w.jpeg" /></figure><p>In the previous week, we explained the project and some related works. We looked at what methods they used in the related works. And we collect our datasets. In this week, we tried to write a progress report. By working on that, we basically decided on the architecture of the project. And we are hoping to cover; rainy, sunny, cloudy, foggy, snowy weather classes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*mkLq3O_ZFci158yl8MYjyA.png" /></figure><p>When we were writing the report, we have discussed how we can do it. And there are many machine learning methods that can solve this kind of classification problems. In the related works that we found, they generally used Convolutional Neural Networks, Support Vector Machines and Decision Trees/Random Forests.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*vztqzpDvmzpAvpZHpPqtZw.png" /></figure><p>Since we will classify the images, we must analyze the images so we must use image processing tools and hand-crafted feature extraction methods. There are lots of image descriptors and hand-crafted tools/algorithms. But we eliminate some descriptors and we found what can be useful for us so that, we can use in our problem such as”Hog Descriptor”, ”SIFT”, ”Blob Detection”, ”Color Histograms”, ”Local Binary Patterns”, ”Gabor Filters”, “Intensity Histogram”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*wTOd8mIThmmExhtAhju8bA.png" /></figure><p>To implement these algorithms there are many useful frameworks and libraries. For example, most used ones are tensorflow6, caffe7, keras8, libsvm9, scikit-learn10. While we are building convolutional part, we will use caffe framework, because it runs fast and it is easy to use. After convolutional part, libsvm can be used to implement and try support vector machines. And scikit-learn can be used to implement decision trees.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*FROSSfImEr1ufRDYRg3BjA.png" /></figure><p>But when we get closer to finishing up the project. it was more clear to us the architecture. But by that time we had more questions, and we went to our advisor to ask our questions. And we learned that we can use haze for foggy and cloudy images, Contrast/Brightness for sunny images, Color(by using color histogram) for snowy images(we can extract the white pixels from image) and maybe for rainy images. Other than that, we have discussed organizing our dataset to make it more useful. To do this, first, we will resize the image then we will crop each image by using the same ratio rate for each image. So that, each image will have the same size. But, we also want to crop images with respect to get more sky area. To solve this problem, we need to detect the which part of the image has the sky. We thought a simple algorithm by using edge detector.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ijrcxohxl-NCZ8s41ziiXA.jpeg" /></figure><p>The result of putting the photo into the edge detector is that draws the edges of objects in every building, people, etc. in short, the edges of each object other than the sky, with a black background and white lines. So when we have that, we can decide which part of the image has less object and more sky(by counting the white pixel of each image segment). By the result, we can get more sky areas in each image and we can crop the object area.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/272/1*tcmWFrUsqvz9bLhvwX4XPw.png" /><figcaption>After the algorithm that we applied</figcaption></figure><p><strong>Progress Report Of The Project:</strong></p><p><a href="https://drive.google.com/open?id=1SRnc3XG4I1h9Eoq1Nce2-dlIjHEoxB7D">WeatherConditionRecognition_paper.pdf</a></p><p>We didn&#39;t start to write the code yet. Hopefully, in the next week we will be writing our code using this architecture and of course there can be changes in the architecture. We can’t wait to start the project. And we are looking forward to talk you about our project.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a3dd91a77fec" width="1" height="1" alt=""><hr><p><a href="https://medium.com/warmthofimage/week-3-warmth-of-image-a3dd91a77fec">Week 3 — Warmth of Image</a> was originally published in <a href="https://medium.com/warmthofimage">WarmthOfImage</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 2 — Warmth of Image]]></title>
            <link>https://medium.com/warmthofimage/week-2-warmth-of-image-a37dec17d0c7?source=rss----ea8807d89dc4---4</link>
            <guid isPermaLink="false">https://medium.com/p/a37dec17d0c7</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[image-classification]]></category>
            <category><![CDATA[image-processing]]></category>
            <category><![CDATA[weather]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Mert Surucuoglu]]></dc:creator>
            <pubDate>Thu, 08 Feb 2018 12:22:15 GMT</pubDate>
            <atom:updated>2018-02-08T12:22:14.742Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong><em>Title:</em></strong> Weather Condition Prediction from Image</h3><p><strong><em>Team Members:</em></strong> Berk GÜLAY, Samet KALKAN, Mert SÜRÜCÜOĞLU</p><p><strong><em>E-mails Respectively: </em></strong>berkgulay.cs@gmail.com , abdulsametkalkan@gmail.com , mertsurucuogluu@gmail.com</p><p>In previous post, we mentioned about some related works and datasets. This week, we did research about those studies and datasets in details.</p><p>Our biggest problem was collecting data. We took advice from our lecturer to collect data. He gave us a AMOS site. AMOS is a collection of long-term timelapse imagery from publicly accessible outdoor webcams around the world. There are images of millions and webcam of thousands. But we didn’t enter to the site. Because there is a problem in the site.</p><p>We looked for other ways to collect data. We mailed some people and institutions which have done work like ours to share their datasets with us but they even didn’t answer us. As a result of our lengthy research, we found a dataset that has been classified. Images that we found have 5 classes: cloudy, foggy, rain, snow and sunny. There are approximately 150.000 images and this is enough for our work.</p><p>There are some sample images below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*D5LvMKjSI1JxuSZIiKMYSQ.jpeg" /><figcaption>Cloudy</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/375/1*qOAKB-dv776a9t4OS_DZng.jpeg" /><figcaption>Snowy</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*3oYVVgUenXfCTG-JhKWySQ.jpeg" /><figcaption>Foggy</figcaption></figure><p>Also we found some related work previous week. We investigated those works in detail: How they did, which features used, which algorithm used etc.</p><p>In general, they used neural network and support vector machine(SVM). Also they used hog feature, color histogram, contrast, sharpness as feature.</p><p>We decided to use above methods and features. Next week we are going to start code it.</p><p>See you next week.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a37dec17d0c7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/warmthofimage/week-2-warmth-of-image-a37dec17d0c7">Week 2 — Warmth of Image</a> was originally published in <a href="https://medium.com/warmthofimage">WarmthOfImage</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 1 — Warmth of Image]]></title>
            <link>https://medium.com/warmthofimage/week-1-warmth-of-image-46fe5549ae08?source=rss----ea8807d89dc4---4</link>
            <guid isPermaLink="false">https://medium.com/p/46fe5549ae08</guid>
            <category><![CDATA[weather]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[classification]]></category>
            <category><![CDATA[image-recognition]]></category>
            <category><![CDATA[image-processing]]></category>
            <dc:creator><![CDATA[Berk Gülay]]></dc:creator>
            <pubDate>Sat, 03 Feb 2018 18:37:03 GMT</pubDate>
            <atom:updated>2017-11-25T06:57:40.233Z</atom:updated>
            <content:encoded><![CDATA[<p><strong><em>Title:</em></strong> Weather Condition Prediction from Image</p><p><strong><em>Team Members:</em></strong> Berk GÜLAY, Samet KALKAN, Mert SÜRÜCÜOĞLU</p><p><strong><em>E-mails Respectively: </em></strong>berkgulay.cs@gmail.com , abdulsametkalkan@gmail.com , mertsurucuogluu@gmail.com</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*XBflRY0pZ206zrhLDmMFUA.jpeg" /><figcaption>Cloudy View from London</figcaption></figure><h3><strong>Brief Explanation:</strong></h3><p>In our generation ML is very widely used area to predict very useful things and inference something from data(image etc.). In our project we aim to predict weather condition in given image by using various image descriptors and features. We hope to cover a large label range to classify images.</p><p><strong>Sample Classes:</strong></p><ol><li>Rainy</li><li>Sunny</li><li>Cloudy</li><li>Foggy</li><li>Snowy</li><li>Thunderstorm / Light Thunderstorm / Lightning</li></ol><h3>DataSets:</h3><ul><li><a href="http://www.cse.cuhk.edu.hk/~leojia/projects/weatherclassify/index.htm">Two-class Weather Classification</a></li><li><a href="http://perso.lcpc.fr/tarel.jean-philippe/bdd/frida.html">FRIDA (Foggy Road Image DAtabase) Image Database</a></li><li><a href="http://ieeexplore.ieee.org/document/7545010/?reload=true">Image2Weather: A Large-Scale Image Dataset for Weather Property Estimation - IEEE Conference Publication</a></li></ul><p>Also some webcam images(not labeled and should be labeled) and photoshopped(as we want, so labeled) images can be used for data variation.</p><p>If you have suggestions or some useful resources/sites you would always be welcome to contact with us by given e-mails above. Thanks in advance.</p><h3><strong>Approach / Brief Algorithm Overview:</strong></h3><p>Various image descriptors(Hog,Color Histogram etc.) , features and frameworks(Caffe etc.) will be used to describe&amp;classify images. Different Neural Net. architectures, SVM algorithms and Decision Trees will be tried for classification. Crop/eliminate images to make them feasible&amp;same sized, normalization, regularization and these kind of basic applications will be applied and also new ones will be researched for true labeling performance. If it is possible to collect temperature/humidity/time features for every image in dataset, we will try to obtain them as basic features about images and use them in our classification algorithm as well. Best algorithm to predict correct labels will be used as latest model and it will be introduced as result. Stand by us!</p><h3><strong>Related Works:</strong></h3><iframe src="https://drive.google.com/viewerng/viewer?url=https%3A//www.cs.ccu.edu.tw/%7Ewtchu/papers/2016BigMM-chu.pdf&amp;embedded=true" width="600" height="780" frameborder="0" scrolling="no"><a href="https://medium.com/media/1cd0d0e19c700b1b2ca4c508e599ee7c/href">https://medium.com/media/1cd0d0e19c700b1b2ca4c508e599ee7c/href</a></iframe><iframe src="https://drive.google.com/viewerng/viewer?url=https%3A//www.cse.cuhk.edu.hk/%7Eleojia/papers/weatherclassify_cvpr14.pdf&amp;embedded=true" width="600" height="780" frameborder="0" scrolling="no"><a href="https://medium.com/media/74338cd33912757a6b10c5801ddf3075/href">https://medium.com/media/74338cd33912757a6b10c5801ddf3075/href</a></iframe><iframe src="https://drive.google.com/viewerng/viewer?url=https%3A//mediatum.ub.tum.de/doc/1137870/302563.pdf&amp;embedded=true" width="600" height="780" frameborder="0" scrolling="no"><a href="https://medium.com/media/a84a910da288d706e3dac3281a69ede1/href">https://medium.com/media/a84a910da288d706e3dac3281a69ede1/href</a></iframe><iframe src="https://drive.google.com/viewerng/viewer?url=http%3A//www.murase.nuie.nagoya-u.ac.jp/publications/140-pdf.pdf&amp;embedded=true" width="600" height="780" frameborder="0" scrolling="no"><a href="https://medium.com/media/6dafddf4c5a2abfbe7fe332fee30054f/href">https://medium.com/media/6dafddf4c5a2abfbe7fe332fee30054f/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=46fe5549ae08" width="1" height="1" alt=""><hr><p><a href="https://medium.com/warmthofimage/week-1-warmth-of-image-46fe5549ae08">Week 1 — Warmth of Image</a> was originally published in <a href="https://medium.com/warmthofimage">WarmthOfImage</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>