- OpenCV with Python Blueprints
- Michael Beyeler
- 196字
- 2021-07-09 21:48:43
Planning the app
The final app will consist of the following modules and scripts:
filters
: A module comprising different classes for the three different image effects. The modular approach will allow us to use the filters independently of any graphical user interface (GUI).filters.PencilSketch
: A class for applying the pencil sketch effect to an RGB color image.filters.WarmingFilter
: A class for applying the warming filter to an RGB color image.filters.CoolingFilter
: A class for applying the cooling filter to an RGB color image.filters.Cartoonizer
: A method for applying the cartoonizer effect to an RGB color image.gui
: A module that provides a wxPython GUI application to access the webcam and display the camera feed, which we will make extensive use of throughout the book.gui.BaseLayout
: A generic layout from which more complicated layouts can be built.chapter1
: The main script for this chapter.chapter1.FilterLayout
: A custom layout based ongui.BaseLayout
that displays the camera feed and a row of radio buttons that allows the user to select from the available image filters to be applied to each frame of the camera feed.chapter1.main
: The main function routine for starting the GUI application and accessing the webcam.
推薦閱讀
- SQL Server 從入門到項目實踐(超值版)
- PhoneGap Mobile Application Development Cookbook
- Microsoft Azure Storage Essentials
- Mastering Unity 2D Game Development(Second Edition)
- Visual Foxpro 9.0數據庫程序設計教程
- ASP.NET程序開發范例寶典
- 現代C++編程實戰:132個核心技巧示例(原書第2版)
- Flowable流程引擎實戰
- HTML5開發精要與實例詳解
- Node.js 12實戰
- 軟件工程基礎與實訓教程
- Learning Jakarta Struts 1.2: a concise and practical tutorial
- Java EE架構設計與開發實踐
- Manage Your SAP Projects with SAP Activate
- Arduino Robotic Projects