- Mastering OpenCV 4 with Python
- Alberto Fernández Villán
- 186字
- 2021-07-02 12:07:15
Summary
In this chapter, we looked at the key concepts related to images. Images constitute rich information that's necessary to build your computer vision projects. OpenCV uses the BGR color format instead of RGB, but some Python packages (for example, Matplotlib) use the latter format. Therefore, we have covered how to convert the image from one color format into the other.
Additionally, we have summarized the main functions and options to work with images:
- To access image properties
- Some OpenCV functions, such as cv2.imread(), cv2.split(), cv2.merge(), cv2.imshow(), cv2.waitKey(), and cv2.destroyAllWindows()
- How to get and set image pixels in both BGR and grayscale images
Finally, we included two notebooks, which let you play with all these concepts. Remember that once you have loaded the notebook, you can run it step by step by pressing Shift + Enter or run the notebook in a single step by clicking on the Cell | Run All menu.
In the next chapter, you will learn how to cope with files and images, which are necessary for building your computer vision applications.
- 大話PLC(輕松動漫版)
- Spring 5.0 Microservices(Second Edition)
- PHP程序設計(慕課版)
- 深入實踐Spring Boot
- Learning Laravel 4 Application Development
- Mastering Drupal 8 Views
- ElasticSearch Cookbook(Second Edition)
- R用戶Python學習指南:數據科學方法
- GameMaker Essentials
- 深度學習原理與PyTorch實戰(第2版)
- 寫給大家看的Midjourney設計書
- Getting Started with Web Components
- Java面向對象程序設計(第3版)
- Kudu:構建高性能實時數據分析存儲系統
- 軟件定義網絡:基于OpenFlow的SDN技術揭秘