Python Review Notes 5—Common Modules
Python has a rich set of useful built-in modules and third-party modules that make it quick and convenient to implement many common features.
Notes on robotics, vision, and systems.
Python has a rich set of useful built-in modules and third-party modules that make it quick and convenient to implement many common features.
This article summarizes basic Python file reading and writing operations, as well as common os operations on directories and files, such as retrieving paths, joining paths, renaming files, and moving files. It also summarizes commonly used JSON operations.
During program execution, you inevitably encounter all kinds of errors. Some are caused by bugs in the code, some by user input, and others are completely unpredictable at runtime. Python includes a built-in exception-handling mechanism to help us handle errors.
Summarizes basic class usage; the characteristics and application examples of encapsulation, inheritance, and polymorphism; and inheritance-oriented advanced features such as multiple inheritance and customized classes.
In Python, less code is better, and simpler code is better. Based on this philosophy, Python provides many useful advanced features, such as list comprehensions, generators, anonymous functions, and decorators.
Three-dimensional reconstruction uses a camera to photograph real-world objects and scenes, then processes them with computer vision techniques to obtain a three-dimensional model of the object. The main techniques involved include multi-view stereo, depth map estimation, point cloud processing, mesh reconstruction and optimization, texture mapping, Markov random fields, image segmentation, and more.
Import a CAD model with complex curved surfaces, such as a car body, into RobotStudio. Use RobotStudio for path planning to enable a robotic arm to paint the car body.
When running deep learning code for training and inference, you will inevitably encounter various errors. This article collects some of the errors I have encountered and will be updated occasionally.
Mask R-CNN is a major 2017 work by Kaiming He. It performs instance segmentation alongside object detection and achieves excellent results.
Notes from my journey learning deep learning from scratch. This chapter introduces the most fundamental mathematical ideas behind deep learning, as well as simple regression-based approaches to deep learning algorithms and related code.