- Building Computer Vision Projects with OpenCV 4 and C++
- David Millán Escrivá Prateek Joshi Vinícius G. Mendon?a Roy Shilkrot
- 150字
- 2021-07-02 12:28:27
GUI
OpenCV provides a module called highgui that handles all the high-level user interface operations. Let's say you are working on a problem, and you want to check what the image looks like before you proceed to the next step. This module has functions that can be used to create windows to display images and/or videos.
There is a waiting function that will wait until you hit a key on your keyboard before it goes on to the next step. There is also a function that can detect mouse events. This is very useful in developing interactive applications.
Using this functionality, you can draw rectangles on those input windows, and then proceed based on the selected region. Consider the following screenshot:

As you can see, we drew a green rectangle on top of the window. Once we have the coordinates of that rectangle, we can operate only on that region.
- Python數(shù)據(jù)分析與挖掘?qū)崙?zhàn)
- 數(shù)據(jù)之巔:數(shù)據(jù)的本質(zhì)與未來(lái)
- Spark分布式處理實(shí)戰(zhàn)
- 區(qū)塊鏈技術(shù)應(yīng)用與實(shí)踐案例
- R Machine Learning Essentials
- Node.js High Performance
- Spring Boot 2.0 Cookbook(Second Edition)
- 數(shù)據(jù)分析思維:產(chǎn)品經(jīng)理的成長(zhǎng)筆記
- 數(shù)據(jù)庫(kù)原理及應(yīng)用:SQL Server 2016
- 基于數(shù)據(jù)發(fā)布的隱私保護(hù)模型研究
- ECharts數(shù)據(jù)可視化:入門、實(shí)戰(zhàn)與進(jìn)階
- NoSQL數(shù)據(jù)庫(kù)原理(第2版·微課版)
- 量化投資:交易模型開(kāi)發(fā)與數(shù)據(jù)挖掘
- 數(shù)字化轉(zhuǎn)型方法論:落地路徑與數(shù)據(jù)中臺(tái)
- Hive性能調(diào)優(yōu)實(shí)戰(zhàn)