COMPUTER VISION and BUILDING ENVELOPES a Thesis Submitted To

Total Page:16

File Type:pdf, Size:1020Kb

COMPUTER VISION and BUILDING ENVELOPES a Thesis Submitted To COMPUTER VISION AND BUILDING ENVELOPES A thesis submitted To Kent State University in partial Fulfillment of the requirements for the Degree of Master of Science in Architecture and Environmental Design by Nina K. Anani-Manyo April 2021 © Copyright All rights reserved Except for previously published materials Thesis written by Nina K. Anani-Manyo B.S. Architecture, Kent State University, 2019 M. Architecture, Kent State University, 2021 M. S., Kent State University, 2021 Approved by Rui Liu, Ph.D. __________________________ , Advisor Reid Coffman, Ph.D. __________________________ , Program Coordinator Ivan Bernal __________________________ , Director, Architecture and Urban Design Mark Mistur, AIA, __________________________ , Dean, College of Architecture and Environmental Design ABSTRACT Computer vision, a field that falls under artificial intelligence (AI), is increasingly establishing grounds in many disciplines as the demand for automated means to solve real-world problems gradually grows. AI is progressively simplifying and speeding up the processes of day-to-day tasks. The application of computer vision within the field of architecture has the potential to increase efficiency as well. Building envelope is an important component of a building and requires regular assessment and inspection. The application of deep learning techniques reveals itself as an innovative way of carrying out a task that is typically performed by humans. Hence, this research discusses the explorations of using computer vision as a tool to classify building materials, evaluate the details, and potentially identify distresses of building envelopes. This is done using a collection of existing digital images and algorithms that help train the computer to produce efficient and reliable results. Deep learning techniques such as convolutional neural network algorithms and Google’s Teachable Machine are utilized to classify two sets of base data. The successes produced prove the models have the capability of classifying the dataset given to them. These approaches gradually introduce new methods and techniques that can and will revolutionize the industry of Architecture, Engineering, and Construction. Keywords: Computer vision, architecture, building envelope, deep learning, algorithm, convolutional neural network (CNN), image classification. TABLE OF CONTENTS LIST OF FIGURES ............................................................................................................................. vii ACKNOWLEDGEMENTS .................................................................................................................... x CHAPTER 1 INTRODUCTION AND BACKGROUND ........................................................................... 1 1.1 Background ............................................................................................................................ 1 1.2 Artificial Intelligence .............................................................................................................. 5 1.3 Computer Vision .................................................................................................................... 7 1.4 Problem Statement ............................................................................................................. 11 1.5 Research Objective and Questions ..................................................................................... 12 1.6 Thesis Outline ...................................................................................................................... 13 CHAPTER 2 LITERATURE REVIEW .................................................................................................. 14 2.1 History of Computer Vision ................................................................................................. 14 2.2 Images ................................................................................................................................. 17 2.3 Deep Learning ..................................................................................................................... 20 2.3.1 Introduction .................................................................................................................. 20 2.3.2 Activation Functions ..................................................................................................... 22 2.3.3 Deep Learning Algorithms ............................................................................................ 26 2.3.4 Tools and Open-Source Software ................................................................................. 29 iv 2.4 Design Application ............................................................................................................... 30 2.4.1 Computer Vision and Art .............................................................................................. 30 2.4.2 Computer Vision and Building and Infrastructure Performance .................................. 35 2.4.3 Computer Vision and Urban Design ............................................................................. 39 2.5 Summary ............................................................................................................................. 41 CHAPTER 3: CNN AND TEACHABLE MACHINE .............................................................................. 43 3.1 Introduction ......................................................................................................................... 43 3.2 CNN ...................................................................................................................................... 43 3.3 Teachable Machine ............................................................................................................. 45 3.3.1 ImageNet ...................................................................................................................... 47 3.4 Summary ............................................................................................................................. 48 CHAPTER 4: DATA, RESULTS AND DISCUSSIONS ........................................................................... 49 4.1 Data ..................................................................................................................................... 49 4.1.1 Data Collection ............................................................................................................. 50 4.1.2 Data Processing ............................................................................................................ 53 4.2 CNN ...................................................................................................................................... 54 4.2.1 Classifications for Roof Materials ................................................................................. 54 4.2.2 Classifications of Damaged or Not Damaged Roof ....................................................... 60 4.3 Teachable Machine ............................................................................................................. 64 v 4.3.1 Classifications for Roof Materials ................................................................................. 64 4.3.2 Classifications of Damaged or Not Damaged Roof ....................................................... 66 4.4 Results, Comparisons, and Limitations ............................................................................... 67 4.5 Summary ............................................................................................................................. 71 CHAPTER 5: CONCLUSION ............................................................................................................. 73 5.1 Conclusions .......................................................................................................................... 73 5.2 Overall Limitations .............................................................................................................. 73 5.3 Recommendations .............................................................................................................. 74 REFERENCES .................................................................................................................................. 76 APPENDICES .................................................................................................................................. 82 Appendix A - Python Code for Downloading Images ................................................................ 83 Appendix B- CNN Code for Roof Material Image Classification ................................................ 85 vi LIST OF FIGURES Figure 1-1: Turing Test…………………………………………………………………............................................... 2 Figure 1-2: Timeline of Computer Vision-Artificial Intelligence ………............................................ 4 Figure 1-3: Different Brick Wall Properties ………………….…………………............................................ 9 Figure 2-1: Visual Turing Test.………………………………………………………….......................................... 16 Figure 2-2: Simple “Display Image” Code…………………………………………......................................... 18 Figure 2-3: Images…………………………………………………………………………........................................... 19 Figure 2-4: An Artificial Neuron……………………………………………………….......................................... 21 Figure 2-5: Activation Function……………………………………………………….......................................... 22 Figure 2-6: Equation, Range and Derivative……………………………………….......................................
Recommended publications
  • Synthesizing Images of Humans in Unseen Poses
    Synthesizing Images of Humans in Unseen Poses Guha Balakrishnan Amy Zhao Adrian V. Dalca Fredo Durand MIT MIT MIT and MGH MIT [email protected] [email protected] [email protected] [email protected] John Guttag MIT [email protected] Abstract We address the computational problem of novel human pose synthesis. Given an image of a person and a desired pose, we produce a depiction of that person in that pose, re- taining the appearance of both the person and background. We present a modular generative neural network that syn- Source Image Target Pose Synthesized Image thesizes unseen poses using training pairs of images and poses taken from human action videos. Our network sepa- Figure 1. Our method takes an input image along with a desired target pose, and automatically synthesizes a new image depicting rates a scene into different body part and background lay- the person in that pose. We retain the person’s appearance as well ers, moves body parts to new locations and refines their as filling in appropriate background textures. appearances, and composites the new foreground with a hole-filled background. These subtasks, implemented with separate modules, are trained jointly using only a single part details consistent with the new pose. Differences in target image as a supervised label. We use an adversarial poses can cause complex changes in the image space, in- discriminator to force our network to synthesize realistic volving several moving parts and self-occlusions. Subtle details conditioned on pose. We demonstrate image syn- details such as shading and edges should perceptually agree thesis results on three action classes: golf, yoga/workouts with the body’s configuration.
    [Show full text]
  • Fake It Until You Make It Exploring If Synthetic GAN-Generated Images Can Improve the Performance of a Deep Learning Skin Lesion Classifier
    Fake It Until You Make It Exploring if synthetic GAN-generated images can improve the performance of a deep learning skin lesion classifier Nicolas Carmont Zaragoza [email protected] 4th Year Project Report Artificial Intelligence and Computer Science School of Informatics University of Edinburgh 2020 1 Abstract In the U.S alone more people are diagnosed with skin cancer each year than all other types of cancers combined [1]. For those that have melanoma, the average 5-year survival rate is 98.4% in early stages and drops to 22.5% in late stages [2]. Skin lesion classification using machine learning has become especially popular recently because of its ability to match the accuracy of professional dermatologists [3]. Increasing the accuracy of these classifiers is an ongoing challenge to save lives. However, many skin classification research papers assert that there is not enough images in skin lesion datasets to improve the accuracy further [4] [5]. Over the past few years, Generative Adversarial Neural Networks (GANs) have earned a reputation for their ability to generate highly realistic synthetic images from a dataset. This project explores the effectiveness of GANs as a form of data augmentation to generate realistic skin lesion images. Furthermore it explores to what extent these GAN-generated lesions can help improve the performance of a skin lesion classifier. The findings suggest that GAN augmentation does not provide a statistically significant increase in classifier performance. However, the generated synthetic images were realistic enough to lead professional dermatologists to believe they were real 41% of the time during a Visual Turing Test.
    [Show full text]
  • Memristor-Based Approximated Computation
    Memristor-based Approximated Computation Boxun Li1, Yi Shan1, Miao Hu2, Yu Wang1, Yiran Chen2, Huazhong Yang1 1Dept. of E.E., TNList, Tsinghua University, Beijing, China 2Dept. of E.C.E., University of Pittsburgh, Pittsburgh, USA 1 Email: [email protected] Abstract—The cessation of Moore’s Law has limited further architectures, which not only provide a promising hardware improvements in power efficiency. In recent years, the physical solution to neuromorphic system but also help drastically close realization of the memristor has demonstrated a promising the gap of power efficiency between computing systems and solution to ultra-integrated hardware realization of neural net- works, which can be leveraged for better performance and the brain. The memristor is one of those promising devices. power efficiency gains. In this work, we introduce a power The memristor is able to support a large number of signal efficient framework for approximated computations by taking connections within a small footprint by taking the advantage advantage of the memristor-based multilayer neural networks. of the ultra-integration density [7]. And most importantly, A programmable memristor approximated computation unit the nonvolatile feature that the state of the memristor could (Memristor ACU) is introduced first to accelerate approximated computation and a memristor-based approximated computation be tuned by the current passing through itself makes the framework with scalability is proposed on top of the Memristor memristor a potential, perhaps even the best, device to realize ACU. We also introduce a parameter configuration algorithm of neuromorphic computing systems with picojoule level energy the Memristor ACU and a feedback state tuning circuit to pro- consumption [8], [9].
    [Show full text]
  • A Survey of Autonomous Driving: Common Practices and Emerging Technologies
    Accepted March 22, 2020 Digital Object Identifier 10.1109/ACCESS.2020.2983149 A Survey of Autonomous Driving: Common Practices and Emerging Technologies EKIM YURTSEVER1, (Member, IEEE), JACOB LAMBERT 1, ALEXANDER CARBALLO 1, (Member, IEEE), AND KAZUYA TAKEDA 1, 2, (Senior Member, IEEE) 1Nagoya University, Furo-cho, Nagoya, 464-8603, Japan 2Tier4 Inc. Nagoya, Japan Corresponding author: Ekim Yurtsever (e-mail: [email protected]). ABSTRACT Automated driving systems (ADSs) promise a safe, comfortable and efficient driving experience. However, fatalities involving vehicles equipped with ADSs are on the rise. The full potential of ADSs cannot be realized unless the robustness of state-of-the-art is improved further. This paper discusses unsolved problems and surveys the technical aspect of automated driving. Studies regarding present challenges, high- level system architectures, emerging methodologies and core functions including localization, mapping, perception, planning, and human machine interfaces, were thoroughly reviewed. Furthermore, many state- of-the-art algorithms were implemented and compared on our own platform in a real-world driving setting. The paper concludes with an overview of available datasets and tools for ADS development. INDEX TERMS Autonomous Vehicles, Control, Robotics, Automation, Intelligent Vehicles, Intelligent Transportation Systems I. INTRODUCTION necessary here. CCORDING to a recent technical report by the Eureka Project PROMETHEUS [11] was carried out in A National Highway Traffic Safety Administration Europe between 1987-1995, and it was one of the earliest (NHTSA), 94% of road accidents are caused by human major automated driving studies. The project led to the errors [1]. Against this backdrop, Automated Driving Sys- development of VITA II by Daimler-Benz, which succeeded tems (ADSs) are being developed with the promise of in automatically driving on highways [12].
    [Show full text]
  • CSE 152: Computer Vision Manmohan Chandraker
    CSE 152: Computer Vision Manmohan Chandraker Lecture 15: Optimization in CNNs Recap Engineered against learned features Label Convolutional filters are trained in a Dense supervised manner by back-propagating classification error Dense Dense Convolution + pool Label Convolution + pool Classifier Convolution + pool Pooling Convolution + pool Feature extraction Convolution + pool Image Image Jia-Bin Huang and Derek Hoiem, UIUC Two-layer perceptron network Slide credit: Pieter Abeel and Dan Klein Neural networks Non-linearity Activation functions Multi-layer neural network From fully connected to convolutional networks next layer image Convolutional layer Slide: Lazebnik Spatial filtering is convolution Convolutional Neural Networks [Slides credit: Efstratios Gavves] 2D spatial filters Filters over the whole image Weight sharing Insight: Images have similar features at various spatial locations! Key operations in a CNN Feature maps Spatial pooling Non-linearity Convolution (Learned) . Input Image Input Feature Map Source: R. Fergus, Y. LeCun Slide: Lazebnik Convolution as a feature extractor Key operations in a CNN Feature maps Rectified Linear Unit (ReLU) Spatial pooling Non-linearity Convolution (Learned) Input Image Source: R. Fergus, Y. LeCun Slide: Lazebnik Key operations in a CNN Feature maps Spatial pooling Max Non-linearity Convolution (Learned) Input Image Source: R. Fergus, Y. LeCun Slide: Lazebnik Pooling operations • Aggregate multiple values into a single value • Invariance to small transformations • Keep only most important information for next layer • Reduces the size of the next layer • Fewer parameters, faster computations • Observe larger receptive field in next layer • Hierarchically extract more abstract features Key operations in a CNN Feature maps Spatial pooling Non-linearity Convolution (Learned) . Input Image Input Feature Map Source: R.
    [Show full text]
  • 1 Convolution
    CS1114 Section 6: Convolution February 27th, 2013 1 Convolution Convolution is an important operation in signal and image processing. Convolution op- erates on two signals (in 1D) or two images (in 2D): you can think of one as the \input" signal (or image), and the other (called the kernel) as a “filter” on the input image, pro- ducing an output image (so convolution takes two images as input and produces a third as output). Convolution is an incredibly important concept in many areas of math and engineering (including computer vision, as we'll see later). Definition. Let's start with 1D convolution (a 1D \image," is also known as a signal, and can be represented by a regular 1D vector in Matlab). Let's call our input vector f and our kernel g, and say that f has length n, and g has length m. The convolution f ∗ g of f and g is defined as: m X (f ∗ g)(i) = g(j) · f(i − j + m=2) j=1 One way to think of this operation is that we're sliding the kernel over the input image. For each position of the kernel, we multiply the overlapping values of the kernel and image together, and add up the results. This sum of products will be the value of the output image at the point in the input image where the kernel is centered. Let's look at a simple example. Suppose our input 1D image is: f = 10 50 60 10 20 40 30 and our kernel is: g = 1=3 1=3 1=3 Let's call the output image h.
    [Show full text]
  • Much Has Been Written About the Turing Test in the Last Few Years, Some of It
    1 Much has been written about the Turing Test in the last few years, some of it preposterously off the mark. People typically mis-imagine the test by orders of magnitude. This essay is an antidote, a prosthesis for the imagination, showing how huge the task posed by the Turing Test is, and hence how unlikely it is that any computer will ever pass it. It does not go far enough in the imagination-enhancement department, however, and I have updated the essay with a new postscript. Can Machines Think?1 Can machines think? This has been a conundrum for philosophers for years, but in their fascination with the pure conceptual issues they have for the most part overlooked the real social importance of the answer. It is of more than academic importance that we learn to think clearly about the actual cognitive powers of computers, for they are now being introduced into a variety of sensitive social roles, where their powers will be put to the ultimate test: In a wide variety of areas, we are on the verge of making ourselves dependent upon their cognitive powers. The cost of overestimating them could be enormous. One of the principal inventors of the computer was the great 1 Originally appeared in Shafto, M., ed., How We Know (San Francisco: Harper & Row, 1985). 2 British mathematician Alan Turing. It was he who first figured out, in highly abstract terms, how to design a programmable computing device--what we not call a universal Turing machine. All programmable computers in use today are in essence Turing machines.
    [Show full text]
  • Self-Driving Cars: Evaluation of Deep Learning Techniques for Object Detection in Different Driving Conditions Ramesh Simhambhatla SMU, [email protected]
    SMU Data Science Review Volume 2 | Number 1 Article 23 2019 Self-Driving Cars: Evaluation of Deep Learning Techniques for Object Detection in Different Driving Conditions Ramesh Simhambhatla SMU, [email protected] Kevin Okiah SMU, [email protected] Shravan Kuchkula SMU, [email protected] Robert Slater Southern Methodist University, [email protected] Follow this and additional works at: https://scholar.smu.edu/datasciencereview Part of the Artificial Intelligence and Robotics Commons, Other Computer Engineering Commons, and the Statistical Models Commons Recommended Citation Simhambhatla, Ramesh; Okiah, Kevin; Kuchkula, Shravan; and Slater, Robert (2019) "Self-Driving Cars: Evaluation of Deep Learning Techniques for Object Detection in Different Driving Conditions," SMU Data Science Review: Vol. 2 : No. 1 , Article 23. Available at: https://scholar.smu.edu/datasciencereview/vol2/iss1/23 This Article is brought to you for free and open access by SMU Scholar. It has been accepted for inclusion in SMU Data Science Review by an authorized administrator of SMU Scholar. For more information, please visit http://digitalrepository.smu.edu. Simhambhatla et al.: Self-Driving Cars: Evaluation of Deep Learning Techniques for Object Detection in Different Driving Conditions Self-Driving Cars: Evaluation of Deep Learning Techniques for Object Detection in Different Driving Conditions Kevin Okiah1, Shravan Kuchkula1, Ramesh Simhambhatla1, Robert Slater1 1 Master of Science in Data Science, Southern Methodist University, Dallas, TX 75275 USA {KOkiah, SKuchkula, RSimhambhatla, RSlater}@smu.edu Abstract. Deep Learning has revolutionized Computer Vision, and it is the core technology behind capabilities of a self-driving car. Convolutional Neural Networks (CNNs) are at the heart of this deep learning revolution for improving the task of object detection.
    [Show full text]
  • Turing Test Does Not Work in Theory but in Practice
    Int'l Conf. Artificial Intelligence | ICAI'15 | 433 Turing test does not work in theory but in practice Pertti Saariluoma1 and Matthias Rauterberg2 1Information Technology, University of Jyväskylä, Jyväskylä, Finland 2Industrial Design, Eindhoven University of Technology, Eindhoven, The Netherlands Abstract - The Turing test is considered one of the most im- Essentially, the Turing test is an imitation game. Like any portant thought experiments in the history of AI. It is argued good experiment, it has two conditions. In the case of control that the test shows how people think like computers, but is this conditions, it is assumed that there is an opaque screen. On actually true? In this paper, we discuss an entirely new per- one side of the screen is an interrogator whose task is to ask spective. Scientific languages have their foundational limita- questions and assess the nature of the answers. On the other tions, for example, in their power of expression. It is thus pos- side, there are two people, A and B. The task of A and B is to sible to discuss the limitations of formal concepts and theory answer the questions, and the task of the interrogator is to languages. In order to represent real world phenomena in guess who has given the answer. In the case of experimental formal concepts, formal symbols must be given semantics and conditions, B is replaced by a machine (computer) and again, information contents; that is, they must be given an interpreta- the interrogator must decide whether it was the human or the tion. They key argument is that it is not possible to express machine who answered the questions.
    [Show full text]
  • THE TURING TEST RELIES on a MISTAKE ABOUT the BRAIN For
    THE TURING TEST RELIES ON A MISTAKE ABOUT THE BRAIN K. L. KIRKPATRICK Abstract. There has been a long controversy about how to define and study intel- ligence in machines and whether machine intelligence is possible. In fact, both the Turing Test and the most important objection to it (called variously the Shannon- McCarthy, Blockhead, and Chinese Room arguments) are based on a mistake that Turing made about the brain in his 1948 paper \Intelligent Machinery," a paper that he never published but whose main assumption got embedded in his famous 1950 paper and the celebrated Imitation Game. In this paper I will show how the mistake is a false dichotomy and how it should be fixed, to provide a solid foundation for a new understanding of the brain and a new approach to artificial intelligence. In the process, I make an analogy between the brain and the ribosome, machines that translate information into action, and through this analogy I demonstrate how it is possible to go beyond the purely information-processing paradigm of computing and to derive meaning from syntax. For decades, the metaphor of the brain as an information processor has dominated both neuroscience and artificial intelligence research and allowed the fruitful appli- cations of Turing's computation theory and Shannon's information theory in both fields. But this metaphor may be leading us astray, because of its limitations and the deficiencies in our understanding of the brain and AI. In this paper I will present a new metaphor to consider, of the brain as both an information processor and a producer of physical effects.
    [Show full text]
  • Do Better Imagenet Models Transfer Better?
    Do Better ImageNet Models Transfer Better? Simon Kornblith,∗ Jonathon Shlens, and Quoc V. Le Google Brain {skornblith,shlens,qvl}@google.com Logistic Regression Fine-Tuned Abstract 1.6 2.3 Inception-ResNet v2 Inception v4 1.5 2.2 Transfer learning is a cornerstone of computer vision, yet little work has been done to evaluate the relationship 1.4 MobileNet v1 2.1 MobileNet v1 NASNet Large NASNet Large between architecture and transfer. An implicit hypothesis 1.3 2.0 ResNet-50 ResNet-50 in modern computer vision research is that models that per- 1.2 1.9 form better on ImageNet necessarily perform better on other vision tasks. However, this hypothesis has never been sys- 1.1 1.8 Transfer Accuracy (Log Odds) tematically tested. Here, we compare the performance of 16 72 74 76 78 80 72 74 76 78 80 classification networks on 12 image classification datasets. ImageNet Top-1 Accuracy (%) ImageNet Top-1 Accuracy (%) We find that, when networks are used as fixed feature ex- Figure 1. Transfer learning performance is highly correlated with tractors or fine-tuned, there is a strong correlation between ImageNet top-1 accuracy for fixed ImageNet features (left) and ImageNet accuracy and transfer accuracy (r = 0.99 and fine-tuning from ImageNet initialization (right). The 16 points in 0.96, respectively). In the former setting, we find that this re- each plot represent transfer accuracy for 16 distinct CNN architec- tures, averaged across 12 datasets after logit transformation (see lationship is very sensitive to the way in which networks are Section 3).
    [Show full text]
  • Revisiting Visual Question Answering Baselines 3
    Revisiting Visual Question Answering Baselines Allan Jabri, Armand Joulin, and Laurens van der Maaten Facebook AI Research {ajabri,ajoulin,lvdmaaten}@fb.com Abstract. Visual question answering (VQA) is an interesting learning setting for evaluating the abilities and shortcomings of current systems for image understanding. Many of the recently proposed VQA systems in- clude attention or memory mechanisms designed to support “reasoning”. For multiple-choice VQA, nearly all of these systems train a multi-class classifier on image and question features to predict an answer. This pa- per questions the value of these common practices and develops a simple alternative model based on binary classification. Instead of treating an- swers as competing choices, our model receives the answer as input and predicts whether or not an image-question-answer triplet is correct. We evaluate our model on the Visual7W Telling and the VQA Real Multiple Choice tasks, and find that even simple versions of our model perform competitively. Our best model achieves state-of-the-art performance on the Visual7W Telling task and compares surprisingly well with the most complex systems proposed for the VQA Real Multiple Choice task. We explore variants of the model and study its transferability between both datasets. We also present an error analysis of our model that suggests a key problem of current VQA systems lies in the lack of visual grounding of concepts that occur in the questions and answers. Overall, our results suggest that the performance of current VQA systems is not significantly arXiv:1606.08390v2 [cs.CV] 22 Nov 2016 better than that of systems designed to exploit dataset biases.
    [Show full text]