<p><span>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</span></p><h4><span>Key Features</span></h4><ul><li><span><span>Develop, train, and use deep learning algorit
TensorFlow 2.0 Computer Vision Cookbook: Implement machine learning solutions to overcome various computer vision challenges
✍ Scribed by Jesús Martinez
- Publisher
- Packt Publishing
- Year
- 2021
- Tongue
- English
- Leaves
- 542
- Category
- Library
No coin nor oath required. For personal study only.
✦ Synopsis
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 Features
- Develop, train, and use deep learning algorithms for computer vision tasks using TensorFlow 2.x
- Discover practical recipes to overcome various challenges faced while building computer vision models
- Enable machines to gain a human level understanding to recognize and analyze digital images and videos
Book 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 learn
- Understand how to detect objects using state-of-the-art models such as YOLOv3
- Use AutoML to predict gender and age from images
- Segment images using different approaches such as FCNs and generative models
- Learn how to improve your network's performance using rank-N accuracy, label smoothing, and test time augmentation
- Enable machines to recognize people's emotions in videos and real-time streams
- Access and reuse advanced TensorFlow Hub models to perform image classification and object detection
- Generate captions for images using CNNs and RNNs
Who 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 Contents
- Getting Started with TensorFlow 2.x for Computer Vision
- Performing Image Classification
- Harnessing the Power of Pre-Trained Networks with Transfer Learning
- Enhancing and Styling Images with DeepDream, Neural Style Transfer, and Image Super-Resolution
- Reducing Noise with Autoencoders
- Generative Models and Adversarial Attacks
- Captioning Images with CNNs and RNNs
- Fine-Grained Understanding of Images through Segmentation
- Localizing Elements in Images with Object Detection
- Applying the Power of Deep Learning to Videos
- Streamlining Network Implementation with AutoML
- Boosting Performance
✦ Table of Contents
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 VOLUMES
<p><span>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</span></p><h4><span>Key Features</span></h4><ul><li><span><span>Develop, train, and use deep learning algorit
Machine learning allows for non-conventional and productive answers for issues within various fields, including problems related to visually perceptive computers. Applying these strategies and algorithms to the area of computer vision allows for higher achievement in tasks such as spatial recognitio
<p><b>Apply neural network architectures to build state-of-the-art computer vision applications using the Python programming language</b></p> <h4>Key Features</h4> <ul><li>Gain a fundamental understanding of advanced computer vision and neural network models in use today </li> <li>Cover tasks such a
<p><b>Apply neural network architectures to build state-of-the-art computer vision applications using the Python programming language</b></p> <h4>Key Features</h4> <ul><li>Gain a fundamental understanding of advanced computer vision and neural network models in use today </li> <li>Cover tasks such a