ENGLISH

TensorFlow 2.0 Computer Vision Cookbook: Implement machine learning solutions to overcome various computer vision challenges

Book information

Publisher
Packt Publishing
Year
2021
ISBN
183882913X, 9781838829131
Language
english
Format
PDF
Filesize
5 MB (5530187 bytes)
Pages
542\542
Time added
2021-02-27 10:53:54

Description

Get well versed with state-of-the-art techniques to tailor training processes and boost the performance of computer vision models using machine learning and deep learning techniques Key FeaturesDevelop, train, and use deep learning algorithms for computer vision tasks using TensorFlow 2.xDiscover practical recipes to overcome various challenges faced while building computer vision modelsEnable machines to gain a human level understanding to recognize and analyze digital images and videosBook Description Computer vision is a scientific field that enables machines to identify and process digital images and videos. This book focuses on independent recipes to help you perform various computer vision tasks using TensorFlow. The book begins by taking you through the basics of deep learning for computer vision, along with covering TensorFlow 2.x's key features, such as the Keras and tf.data.Dataset APIs. You'll then learn about the ins and outs of common computer vision tasks, such as image classification, transfer learning, image enhancing and styling, and object detection. The book also covers autoencoders in domains such as inverse image search indexes and image denoising, while offering insights into various architectures used in the recipes, such as convolutional neural networks (CNNs), region-based CNNs (R-CNNs), VGGNet, and You Only Look Once (YOLO). Moving on, you'll discover tips and tricks to solve any problems faced while building various computer vision applications. Finally, you'll delve into more advanced topics such as Generative Adversarial Networks (GANs), video processing, and AutoML, concluding with a section focused on techniques to help you boost the performance of your networks. By the end of this TensorFlow book, you'll be able to confidently tackle a wide range of computer vision problems using TensorFlow 2.x. What you will learnUnderstand how to detect objects using state-of-the-art models such as YOLOv3Use AutoML to predict gender and age from imagesSegment images using different approaches such as FCNs and generative modelsLearn how to improve your network's performance using rank-N accuracy, label smoothing, and test time augmentationEnable machines to recognize people's emotions in videos and real-time streamsAccess and reuse advanced TensorFlow Hub models to perform image classification and object detectionGenerate captions for images using CNNs and RNNsWho this book is for This book is for computer vision developers and engineers, as well as deep learning practitioners looking for go-to solutions to various problems that commonly arise in computer vision. You will discover how to employ modern machine learning (ML) techniques and deep learning architectures to perform a plethora of computer vision tasks. Basic knowledge of Python programming and computer vision is required. Table of ContentsGetting Started with TensorFlow 2.x for Computer VisionPerforming Image ClassificationHarnessing the Power of Pre-Trained Networks with Transfer LearningEnhancing and Styling Images with DeepDream, Neural Style Transfer, and Image Super-ResolutionReducing Noise with AutoencodersGenerative Models and Adversarial AttacksCaptioning Images with CNNs and RNNsFine-Grained Understanding of Images through SegmentationLocalizing Elements in Images with Object DetectionApplying the Power of Deep Learning to VideosStreamlining Network Implementation with AutoMLBoosting Performance Cover Copyright About PACKT Contributors Table of Contents Preface Chapter 1: Getting Started with TensorFlow 2.x for Computer Vision Technical requirements Working with the basic building blocks of the Keras API Getting ready How to do it… How it works… See also Loading images using the Keras API Getting ready How to do it… How it works… See also Loading images using the tf.data.Dataset API How to do it… How it works… See also Saving and loading a model How to do it… How it works… There's more… Visualizing a model's architecture Getting ready How to do it… How it works… Creating a basic image classifier Getting ready How to do it… How it works… See also Chapter 2: Performing Image Classification Technical requirements Creating a binary classifier to detect smiles Getting ready How to do it… How it works… See also Creating a multi-class classifier to play rock paper scissors Getting ready How to do it… How it works… Creating a multi-label classifier to label watches Getting ready How to do it… How it works… See also Implementing ResNet from scratch Getting ready How to do it… How it works… See also Classifying images with a pre-trained network using the Keras API Getting ready How to do it… How it works… See also Classifying images with a pre-trained network using TensorFlow Hub Getting ready How to do it… How it works… See also Using data augmentation to improve performance with the Keras API Getting ready How to do it… How it works… See also Using data augmentation to improve performance with the tf.data and tf.image APIs Getting ready How to do it… How it works… See also Chapter 3: Harnessing the Power of Pre-Trained Networks with Transfer Learning Technical requirements Implementing a feature extractor using a pre-trained network Getting ready How to do it… How it works… See also Training a simple classifier on extracted features Getting ready How to do it… How it works… See also Spot-checking extractors and classifiers Getting ready How to do it… How it works… Using incremental learning to train a classifier Getting ready How to do it… How it works… Fine-tuning a network using the Keras API Getting ready How to do it… How it works… See also Fine-tuning a network using TFHub Getting ready How to do it… How it works… See also Chapter 4: Enhancing and Styling Images with DeepDream, Neural Style Transfer, and Image Super-Resolution Technical requirements Implementing DeepDream Getting ready How to do it… How it works… See also Generating your own dreamy images Getting ready How to do it… How it works… Implementing Neural Style Transfer Getting ready How to do it… How it works… See also Applying style transfer to custom images Getting ready How to do it… How it works… See also Applying style transfer with TFHub Getting ready How to do it… How it works… See also Improving image resolution with deep learning Getting ready How to do it… How it works… See also Chapter 5: Reducing Noise with Autoencoders Technical requirements Creating a simple fully connected autoencoder Getting ready How to do it… How it works… See also Creating a convolutional autoencoder Getting ready How to do it… How it works… See also Denoising images with autoencoders Getting ready How to do it… How it works… Spotting outliers using autoencoders Getting ready How to do it… How it works… Creating an inverse image search index with deep learning Getting ready How to do it… How it works… See also Implementing a variational autoencoder Getting ready How to do it… How it works… See also Chapter 6: Generative Models and Adversarial Attacks Technical requirements Implementing a deep convolutional GAN Getting ready How to do it… How it works… See also Using a DCGAN for semi-supervised learning Getting ready How to do it… How it works… See also Translating images with Pix2Pix Getting ready How to do it… How it works… See also Translating unpaired images with CycleGAN Getting ready How to do it… How it works… See also Implementing an adversarial attack using the Fast Gradient Signed Method Getting ready How to do it How it works… See also Chapter 7: Captioning Images with CNNs and RNNs Technical requirements Implementing a reusable image caption feature extractor Getting ready How to do it… How it works… See also Implementing an image captioning network Getting ready How to do it… How it works… See also Generating captions for your own photos Getting ready How to do it… How it works… Implementing an image captioning network on COCO with attention Getting ready How to do it… Chapter 8: Fine-Grained Understanding of Images through Segmentation Technical requirements Creating a fully convolutional network for image segmentation Getting ready How to do it… How it works… See also Implementing a U-Net from scratch Getting ready How to do it… How it works… See also Implementing a U-Net with transfer learning Getting ready How to do it… How it works… See also Segmenting images using Mask-RCNN and TensorFlow Hub Getting ready How to do it… How it works… See also Chapter 9: Localizing Elements in Images with Object Detection Technical requirements Creating an object detector with image pyramids and sliding windows Getting ready How to do it… How it works… See also Detecting objects with YOLOv3 Getting ready How it works… See also Training your own object detector with TensorFlow's Object Detection API Getting ready How to do it… How it works… See also Detecting objects using TFHub Getting ready How to do it… How it works… See also Chapter 10: Applying the Power of Deep Learning to Videos Technical requirements Detecting emotions in real time Getting ready How to do it… How it works… See also Recognizing actions with TensorFlow Hub Getting ready How to do it… How it works… See also Generating the middle frames of a video with TensorFlow Hub Getting ready How to do it… How it works… See also Performing text-to-video retrieval with TensorFlow Hub Getting ready How to do it… How it works… See also Chapter 11: Streamlining Network Implementation with AutoML Technical requirements Creating a simple image classifier with AutoKeras How to do it… How it works… See also Creating a simple image regressor with AutoKeras Getting ready How to do it… How it works… See also Exporting and importing a model in AutoKeras How to do it… How it works… See also Controlling architecture generation with AutoKeras' AutoModel How to do it… How it works… See also Predicting age and gender with AutoKeras Getting ready How to do it… How it works… See also Chapter 12: Boosting Performance Technical requirements Using convolutional neural network ensembles to improve accuracy Getting ready How to do it… How it works… See also Using test time augmentation to improve accuracy Getting ready How to do it… How it works… Using rank-N accuracy to evaluate performance Getting ready How to do it… How it works… See also Using label smoothing to increase performance Getting ready How to do it… How it works… Checkpointing model How to do it… Customizing the training process using tf.GradientTape How to do it… How it works… Getting ready How to do it… How it works… See also Other Books You May Enjoy Index

Similar books

Session C11: Ancient Cultural Landscapes in South Europe – their Ecological Setting and Evolution, Session C22: Gardeners from South America, Session S04: Agro-Pastoralism and Early Metallurgy Sessions, Session WS29: The Idea of Enclosure in Recent Iberian Prehistory, Session C88: Rhytmes et causalites des dynamiques de l'anthropisation en Europe entre 6500 ET 500 BC: Hypotheses socio-culturelles et/ou climatiques: Proceedings of the XV UISPP World Congress (Lisbon 4-9 September 2006) / Actes du XV Congrès Mondial (Lisbonne 4-9 Septembre 2006) Vol.36

Session C11: Ancient Cultural Landscapes in South Europe – their Ecological Setting and Evolution, Session C22: Gardeners from South America, Session S04: Agro-Pastoralism and Early Metallurgy Sessions, Session WS29: The Idea of Enclosure in Recent Iberian Prehistory, Session C88: Rhytmes et causalites des dynamiques de l'anthropisation en Europe entre 6500 ET 500 BC: Hypotheses socio-culturelles et/ou climatiques: Proceedings of the XV UISPP World Congress (Lisbon 4-9 September 2006) / Actes du XV Congrès Mondial (Lisbonne 4-9 Septembre 2006) Vol.36

2010 · PDF

THE BRITISH ARMY IN INDIA: ITS PRESERVATION BY AN APPROPRIATE CLOTHING, HOUSING, LOCATING, RECREATIVE EMPLOYMENT, AND HOPEFUL ENCOURAGEMENT OF THE TROOPS. with AN APPENDIX ON INDIA : THE CLIMATE OP ITS HILLS ; THE DEVELOPMENT OF ITS RESODRCBS, INDUSTRY, AND ARTS ; THE ADMINISTRATION OF JUSTICE ; THE BLACK ACT ; THE PROGRESS OF CHRISTIANITY ; THE TRAFFIC IN OPIUM ; THE VALUE OF INDIA ; PERMANENT CAUSES OF DISAFFECTION, AND OF THE RECENT REBELLION ; THE TRADITIONARY POLICY; MISGOVERNMENT BY NATIVE RULERS ; ANNEXATIONS OF THEIR TERRITORY, ETC.

THE BRITISH ARMY IN INDIA: ITS PRESERVATION BY AN APPROPRIATE CLOTHING, HOUSING, LOCATING, RECREATIVE EMPLOYMENT, AND HOPEFUL ENCOURAGEMENT OF THE TROOPS. with AN APPENDIX ON INDIA : THE CLIMATE OP ITS HILLS ; THE DEVELOPMENT OF ITS RESODRCBS, INDUSTRY, AND ARTS ; THE ADMINISTRATION OF JUSTICE ; THE BLACK ACT ; THE PROGRESS OF CHRISTIANITY ; THE TRAFFIC IN OPIUM ; THE VALUE OF INDIA ; PERMANENT CAUSES OF DISAFFECTION, AND OF THE RECENT REBELLION ; THE TRADITIONARY POLICY; MISGOVERNMENT BY NATIVE RULERS ; ANNEXATIONS OF THEIR TERRITORY, ETC.

1858 · PDF

Idries Shah 27 Books Collection : A Perfumed Scorpion, A Veiled Gazelle, Caravan of Dreams, Darkest England, Destination Mecca, Evenings with Idries Shah, Knowing How to Know, Learning How to Learn, Letters and Lectures of Idries Shah, Neglected aspects of Sufi study, Observations, Oriental Magic, Reflections, Seeker after Truth, Special Illumination, Special Problems in the study of Sufi ideas, Sufi thought and action, Tales of the Dervishes, The Dermis Probe, The Elephant in the Dark, The Englishman Handbook, Idries Shah Antology, The Magic Monastery, The natives are restless, wisdom of the Idiots PDF.

Idries Shah 27 Books Collection : A Perfumed Scorpion, A Veiled Gazelle, Caravan of Dreams, Darkest England, Destination Mecca, Evenings with Idries Shah, Knowing How to Know, Learning How to Learn, Letters and Lectures of Idries Shah, Neglected aspects of Sufi study, Observations, Oriental Magic, Reflections, Seeker after Truth, Special Illumination, Special Problems in the study of Sufi ideas, Sufi thought and action, Tales of the Dervishes, The Dermis Probe, The Elephant in the Dark, The Englishman Handbook, Idries Shah Antology, The Magic Monastery, The natives are restless, wisdom of the Idiots PDF.

2022 · PDF