- 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.
推薦閱讀
- ExtGWT Rich Internet Application Cookbook
- Objective-C Memory Management Essentials
- 軟件架構(gòu)設計:大型網(wǎng)站技術(shù)架構(gòu)與業(yè)務架構(gòu)融合之道
- JIRA 7 Administration Cookbook(Second Edition)
- 我的第一本算法書
- Python神經(jīng)網(wǎng)絡項目實戰(zhàn)
- Swift 3 New Features
- Podman實戰(zhàn)
- 網(wǎng)店設計看這本就夠了
- Windows Forensics Cookbook
- Hands-On Automation Testing with Java for Beginners
- Python數(shù)據(jù)結(jié)構(gòu)與算法(視頻教學版)
- 軟件測試綜合技術(shù)
- Image Processing with ImageJ
- C++編程兵書