- 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.
- 計(jì)算機(jī)綜合設(shè)計(jì)實(shí)驗(yàn)指導(dǎo)
- 數(shù)據(jù)庫(kù)應(yīng)用實(shí)戰(zhàn)
- 大數(shù)據(jù)技術(shù)基礎(chǔ)
- 大數(shù)據(jù)可視化
- Python金融大數(shù)據(jù)分析(第2版)
- Mockito Cookbook
- Sybase數(shù)據(jù)庫(kù)在UNIX、Windows上的實(shí)施和管理
- INSTANT Cytoscape Complex Network Analysis How-to
- MySQL 8.x從入門(mén)到精通(視頻教學(xué)版)
- The Game Jam Survival Guide
- 網(wǎng)站數(shù)據(jù)庫(kù)技術(shù)
- ZeroMQ
- 數(shù)據(jù)庫(kù)設(shè)計(jì)與應(yīng)用(SQL Server 2014)(第二版)
- R Machine Learning Essentials
- 數(shù)據(jù)分析思維:產(chǎn)品經(jīng)理的成長(zhǎng)筆記