Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
3D Deep Learning with Python

You're reading from  3D Deep Learning with Python

Product type Book
Published in Oct 2022
Publisher Packt
ISBN-13 9781803247823
Pages 236 pages
Edition 1st Edition
Languages
Authors (3):
Xudong Ma Xudong Ma
Profile icon Xudong Ma
Vishakh Hegde Vishakh Hegde
Profile icon Vishakh Hegde
Lilit Yolyan Lilit Yolyan
Profile icon Lilit Yolyan
View More author details

Table of Contents (16) Chapters

Preface PART 1: 3D Data Processing Basics
Chapter 1: Introducing 3D Data Processing Chapter 2: Introducing 3D Computer Vision and Geometry PART 2: 3D Deep Learning Using PyTorch3D
Chapter 3: Fitting Deformable Mesh Models to Raw Point Clouds Chapter 4: Learning Object Pose Detection and Tracking by Differentiable Rendering Chapter 5: Understanding Differentiable Volumetric Rendering Chapter 6: Exploring Neural Radiance Fields (NeRF) PART 3: State-of-the-art 3D Deep Learning Using PyTorch3D
Chapter 7: Exploring Controllable Neural Feature Fields Chapter 8: Modeling the Human Body in 3D Chapter 9: Performing End-to-End View Synthesis with SynSin Chapter 10: Mesh R-CNN Index Other Books You May Enjoy

Preface

Developers working with 3D computer vision will be able to put their knowledge to work with this practical guide to 3D deep learning. The book provides a hands-on approach to implementation and associated methodologies that will have you up and running and productive in no time.

Complete with step-by-step explanations of essential concepts, practical examples, and self-assessment questions, you will begin by exploring state-of-the-art 3D deep learning.

You will learn about basic 3D mesh and point cloud data processing using PyTorch3D, such as loading and saving PLY and OBJfiles, projecting 3D points onto camera coordinates using perspective camera models or orthographic camera models, and rendering point clouds and meshes to images, among other things. You will also learn how to implement certain state-of-the-art 3D deep learning algorithms, such as differential rendering, NeRF, SynSin, and Mesh R-CNN because coding for these deep learning models becomes easier using the PyTorch3D library.

By the end of this book, you will be able to implement your own 3D deep learning models.

Who this book is for

This book is for beginners and intermediate-level machine learning practitioners, data scientists, machine learning engineers, and deep learning engineers who are looking to become well-versed in computer vision techniques using 3D data.

What this book covers

Chapter 1, Introducing 3D Data Processing, will cover the basics of 3D data, such as how 3D data is stored and the basic concepts of meshes and point clouds, world coordinations, and camera coordinations. It also shows us what NDC is (a frequently used coordination), how to convert between different coordinations, perspective cameras, and orthographic cameras, and which camera models should be used.

Chapter 2, Introducing 3D Computer Vision and Geometry, will show us the basic concepts in computer graphics, such as rendering and shading. We will learn about some fundamental concepts that will be required in the later chapters of this book, including, 3D geometry transforms, PyTorch tensors, and optimization.

Chapter 3, Fitting Deformable Mesh Models to Raw Point Clouds, will present a hands-on project of using a deformable 3D model to fit a noisy 3D observation using all the knowledge that we have learned in the previous chapters. We will explore frequently used cost functions, why these cost functions are important, and when these cost functions are usually used. Finally, we will explore a concrete example of which cost functions have been selected for which tasks and how to set up the optimization loop to obtain the results that we want.

Chapter 4, Learning Object Pose Detection and Tracking by Differentiable Rendering, will talk about the basic concepts of differentiable rendering. It will help you understand the basic concepts and know when you can apply these techniques to solve your own problems.

Chapter 5, Understanding Differentiable Volumetric Rendering, will present a hands-on project using differentiable rendering to estimate camera positions from a single image and a known 3D mesh model. We will learn how to practically use PyTorch3D to set up cameras, renders, and shaders. We will also get hands-on experience in using different cost functions to get optimization results.

Chapter 6, Exploring Neural Radiance Fields (NeRF), will provide a hands-on project using differentiable rendering to estimate 3D mesh models from several images and texture models.

Chapter 7, Exploring Controllable Neural Feature Fields, will cover a very important algorithm for view synthesis, which is NeRF. We will learn what it is all about, how to use it, and where it is valuable.

Chapter 8, Modeling the Human Body in 3D, will explore 3D human body fitting using the SMPL algorithm.

Chapter 9, Performing End-to-End View Synthesis with SynSin, will cover SynSin, which is a state-of-the-art deep learning image synthesis model.

Chapter 10, Mesh R-CNN, will introduce us to Mesh R-CNN, which is another state-of-the-art method for predicting 3D voxel models from a single input image.

To get the most out of this book

Software/hardware covered in the book

Operating system requirements

Python 3.6+

Windows, macOS, or Linux

If you are using the digital version of this book, we advise you to type the code yourself or access the code from the book’s GitHub repository (a link is available in the next section). Doing so will help you avoid any potential errors related to copying and pasting code.

Please check out these papers for reference:

Chapter 6: https://arxiv.org/abs/2003.08934, https://github.com/yenchenlin/nerf-pytorch

Chapter 7: https://m-niemeyer.github.io/project-pages/giraffe/index.html,https://arxiv.org/abs/2011.12100

Chapter 8: https://smpl.is.tue.mpg.de/, https://smplify.is.tue.mpg.de/, https://smpl-x.is.tue.mpg.de/

Chapter 9: https://arxiv.org/pdf/1912.08804.pdf

Chapter 10: https://arxiv.org/abs/1703.06870, https://arxiv.org/abs/1906.02739

Download the example code files

You can download the example code files for this book from GitHub at https://github.com/PacktPublishing/3D-Deep-Learning-with-Python. If there’s an update to the code, it will be updated in the GitHub repository.

We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!

Download the color images

We also provide a PDF file that has color images of the screenshots and diagrams used in this book. You can download it here: https://packt.link/WJr0Q.

Conventions used

There are a number of text conventions used throughout this book.

Code in text: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: “ Next, we need to update the ./options/options.py file”

A block of code is set as follows:

elif opt.dataset == 'kitti':
   opt.min_z = 1.0
   opt.max_z = 50.0
   opt.train_data_path = (
       './DATA/dataset_kitti/'
   )
   from data.kitti import KITTIDataLoader
   return KITTIDataLoader

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

wget https://dl.fbaipublicfiles.com/synsin/checkpoints/realestate/synsin.pth

Any command-line input or output is written as follows:

bash ./download_models.sh

Bold: Indicates a new term, an important word, or words that you see onscreen. For instance, words in menus or dialog boxes appear in bold. Here is an example: “The refinement module (g) gets inputs from the neural point cloud renderer and then outputs the final reconstructed image.”

Tips or important notes

Appear like this.

Get in touch

Feedback from our readers is always welcome.

General feedback: If you have questions about any aspect of this book, email us at customercare@packtpub.com and mention the book title in the subject of your message.

Errata: Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you have found a mistake in this book, we would be grateful if you would report this to us. Please visit www.packtpub.com/support/errata and fill in the form.

Piracy: If you come across any illegal copies of our works in any form on the internet, we would be grateful if you would provide us with the location address or website name. Please contact us at copyright@packt.com with a link to the material.

If you are interested in becoming an author: If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, please visit authors.packtpub.com.

Share Your Thoughts

Once you’ve read 3D Deep Learning with Python, we’d love to hear your thoughts! Please click here to go straight to the Amazon review page for this book and share your feedback.

Your review is important to us and the tech community and will help us make sure we’re delivering excellent quality content.

Download a free PDF copy of this book

Thanks for purchasing this book!

Do you like to read on the go but are unable to carry your print books everywhere?

Is your eBook purchase not compatible with the device of your choice?

Don’t worry, now with every Packt book you get a DRM-free PDF version of that book at no cost.

Read anywhere, any place, on any device. Search, copy, and paste code from your favorite technical books directly into your application.

The perks don’t stop there, you can get exclusive access to discounts, newsletters, and great free content in your inbox daily

Follow these simple steps to get the benefits:

  1. Scan the QR code or visit the link below

https://packt.link/free-ebook/9781803247823

  1. Submit your proof of purchase
  2. That’s it! We’ll send your free PDF and other benefits to your email directly
lock icon The rest of the chapter is locked
Next Chapter arrow right
You have been reading a chapter from
3D Deep Learning with Python
Published in: Oct 2022 Publisher: Packt ISBN-13: 9781803247823
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}