1
+ <!DOCTYPE html>
2
+ < html lang ="en ">
3
+ < head prefix ="og: http://ogp.me/ns# "> < meta name ="generator " content ="Hexo 3.8.0 ">
4
+ < meta charset ="utf-8 ">
5
+ < title > 核心模块方法 | PHPOpenCV</ title >
6
+ < meta http-equiv ="X-UA-Compatible " content ="IE=Edge,chrome=1 ">
7
+ < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
8
+ <!-- Canonical links -->
9
+ < link rel ="canonical " href ="http://phpopencv.org/api/core_functions.html ">
10
+ <!-- Alternative links -->
11
+
12
+
13
+ < link rel ="alternative " hreflang ="en " href ="http://phpopencv.org/api/core_functions.html ">
14
+
15
+ < link rel ="alternative " hreflang ="zh-cn " href ="http://phpopencv.org/zh-cn/api/core_functions.html ">
16
+
17
+
18
+ <!-- Icon -->
19
+ < link rel ="apple-touch-icon " sizes ="57x57 " href ="/icon/apple-touch-icon-57x57.png ">
20
+ < link rel ="apple-touch-icon " sizes ="114x114 " href ="/icon/apple-touch-icon-114x114.png ">
21
+ < link rel ="apple-touch-icon " sizes ="72x72 " href ="/icon/apple-touch-icon-72x72.png ">
22
+ < link rel ="apple-touch-icon " sizes ="144x144 " href ="/icon/apple-touch-icon-144x144.png ">
23
+ < link rel ="apple-touch-icon " sizes ="60x60 " href ="/icon/apple-touch-icon-60x60.png ">
24
+ < link rel ="apple-touch-icon " sizes ="120x120 " href ="/icon/apple-touch-icon-120x120.png ">
25
+ < link rel ="apple-touch-icon " sizes ="76x76 " href ="/icon/apple-touch-icon-76x76.png ">
26
+ < link rel ="apple-touch-icon " sizes ="152x152 " href ="/icon/apple-touch-icon-152x152.png ">
27
+ < link rel ="icon " type ="image/png " href ="/icon/favicon-196x196.png " sizes ="196x196 ">
28
+ < link rel ="icon " type ="image/png " href ="/icon/favicon-160x160.png " sizes ="160x160 ">
29
+ < link rel ="icon " type ="image/png " href ="/icon/favicon-96x96.png " sizes ="96x96 ">
30
+ < link rel ="icon " type ="image/png " href ="/icon/favicon-16x16.png " sizes ="16x16 ">
31
+ < link rel ="icon " type ="image/png " href ="/icon/favicon-32x32.png " sizes ="32x32 ">
32
+ < meta name ="msapplication-TileColor " content ="#2f83cd ">
33
+ < meta name ="msapplication-TileImage " content ="/icon/mstile-144x144.png ">
34
+ <!-- CSS -->
35
+ <!-- build:css build/css/navy.css -->
36
+ < link rel ="stylesheet " href ="/css/navy.css ">
37
+ <!-- endbuild -->
38
+ < link href ="https://fonts.googleapis.com/css?family=Lato:300,400,700 " rel ="stylesheet " type ="text/css ">
39
+ < link rel ="stylesheet " href ="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css ">
40
+ < link rel ="stylesheet " href ="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.css ">
41
+ <!-- RSS -->
42
+ < link rel ="alternate " href ="/atom.xml " title ="PHPOpenCV ">
43
+ <!-- Open Graph -->
44
+ < meta name ="description " content ="boundingRectpublic function boundingRect(array $points) 说明:计算并返回指定点集的最小矩阵并返回 参数: $points Point信息数组 返回:Rect ">
45
+ < meta property ="og:type " content ="website ">
46
+ < meta property ="og:title " content ="核心模块方法 ">
47
+ < meta property ="og:url " content ="http://phpopencv.org/api/core_functions.html ">
48
+ < meta property ="og:site_name " content ="PHPOpenCV ">
49
+ < meta property ="og:description " content ="boundingRectpublic function boundingRect(array $points) 说明:计算并返回指定点集的最小矩阵并返回 参数: $points Point信息数组 返回:Rect ">
50
+ < meta property ="og:locale " content ="en ">
51
+ < meta property ="og:updated_time " content ="2019-05-31T02:04:10.258Z ">
52
+ < meta name ="twitter:card " content ="summary ">
53
+ < meta name ="twitter:title " content ="核心模块方法 ">
54
+ < meta name ="twitter:description " content ="boundingRectpublic function boundingRect(array $points) 说明:计算并返回指定点集的最小矩阵并返回 参数: $points Point信息数组 返回:Rect ">
55
+ < meta name ="twitter:site " content ="hexojs ">
56
+ < meta property ="fb:admins " content ="100000247608790 ">
57
+ <!-- Google Analytics -->
58
+
59
+ < script >
60
+ ( function ( i , s , o , g , r , a , m ) { i [ 'GoogleAnalyticsObject' ] = r ; i [ r ] = i [ r ] || function ( ) {
61
+ ( i [ r ] . q = i [ r ] . q || [ ] ) . push ( arguments ) } , i [ r ] . l = 1 * new Date ( ) ; a = s . createElement ( o ) ,
62
+ m = s . getElementsByTagName ( o ) [ 0 ] ; a . async = 1 ; a . src = g ; m . parentNode . insertBefore ( a , m )
63
+ } ) ( window , document , 'script' , 'https://www.google-analytics.com/analytics.js' , 'ga' ) ;
64
+
65
+ ga ( 'create' , 'UA-48498357-3' , 'auto' ) ;
66
+ ga ( 'send' , 'pageview' ) ;
67
+ </ script >
68
+
69
+ <!-- Google AdSense -->
70
+
71
+ < script async src ="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js "> </ script >
72
+ < script >
73
+ ( adsbygoogle = window . adsbygoogle || [ ] ) . push ( {
74
+ google_ad_client : "ca-pub-9461880259118621" ,
75
+ enable_page_level_ads : true
76
+ } ) ;
77
+ </ script >
78
+
79
+
80
+ <!-- Github Button -->
81
+ < script async defer src ="https://buttons.github.io/buttons.js "> </ script >
82
+ </ head >
83
+
84
+ < body >
85
+ < div id ="container ">
86
+ < header id ="header " class ="wrapper ">
87
+ < div id ="header-inner " class ="inner ">
88
+ < h1 id ="logo-wrap ">
89
+ < a href ="/ " id ="logo "> PHPOpenCV</ a >
90
+ </ h1 >
91
+ < nav id ="main-nav ">
92
+ < a href ="/docs/ " class ="main-nav-link "> Docs</ a >
93
+ < a href ="https://github.com/hihozhou/php-opencv " class ="main-nav-link "> < i class ="fa fa-github-alt "> </ i > </ a >
94
+
95
+ </ nav >
96
+ < div id ="lang-select-wrap ">
97
+ < label id ="lang-select-label "> < i class ="fa fa-globe "> </ i > < span > English</ span > </ label >
98
+ < select id ="lang-select " data-canonical ="api/core_functions.html ">
99
+
100
+ < option value ="en " selected > English</ option >
101
+
102
+ < option value ="zh-cn "> 简体中文</ option >
103
+
104
+ </ select >
105
+ </ div >
106
+ < a id ="mobile-nav-toggle ">
107
+ < span class ="mobile-nav-toggle-bar "> </ span >
108
+ < span class ="mobile-nav-toggle-bar "> </ span >
109
+ < span class ="mobile-nav-toggle-bar "> </ span >
110
+ </ a >
111
+ </ div >
112
+ </ header >
113
+
114
+ < div id ="content-wrap ">
115
+ < div id ="content " class ="wrapper ">
116
+ < div id ="content-inner ">
117
+ < article class ="article-container " itemscope itemtype ="http://schema.org/Article ">
118
+ < div class ="article-inner ">
119
+ < div class ="article ">
120
+ < div class ="inner ">
121
+ < header class ="article-header ">
122
+ < h1 class ="article-title " itemprop ="name "> 核心模块方法</ h1 >
123
+ < a href ="https://github.com/phpopencv/site/edit/master/source/api/core_functions.md " class ="article-edit-link " title ="Improve this doc "> < i class ="fa fa-pencil "> </ i > </ a >
124
+ </ header >
125
+ < div class ="article-content " itemprop ="articleBody ">
126
+ < h1 id ="boundingRect " class ="article-heading "> < a href ="#boundingRect " class ="headerlink " title ="boundingRect "> </ a > boundingRect< a class ="article-anchor " href ="#boundingRect " aria-hidden ="true "> </ a > </ h1 > < figure class ="highlight php "> < table > < tr > < td class ="code "> < pre > < span class ="line "> < span class ="keyword "> public</ span > < span class ="function "> < span class ="keyword "> function</ span > < span class ="title "> boundingRect</ span > < span class ="params "> (array $points)</ span > </ span > </ span > < br > </ pre > </ td > </ tr > </ table > </ figure >
127
+ < blockquote >
128
+ < p > 说明:计算并返回指定点集的最小矩阵并返回</ p >
129
+ </ blockquote >
130
+ < p > 参数:</ p >
131
+ < ul >
132
+ < li > $points Point信息数组</ li >
133
+ </ ul >
134
+ < p > 返回:Rect</ p >
135
+ < hr >
136
+
137
+ </ div >
138
+ < footer class ="article-footer ">
139
+ < time class ="article-footer-updated " datetime ="2019-05-31T02:04:10.258Z " itemprop ="dateModified "> Last updated: 2019-05-31</ time >
140
+ < a href ="core_constants.html " class ="article-footer-prev " title ="Constants "> < i class ="fa fa-chevron-left "> </ i > < span > Prev</ span > </ a > < a href ="mat.html " class ="article-footer-next " title ="Mat "> < span > Next</ span > < i class ="fa fa-chevron-right "> </ i > </ a >
141
+ </ footer >
142
+
143
+ < section id ="comments ">
144
+ < div id ="disqus_thread "> </ div >
145
+ </ section >
146
+ < script >
147
+ var disqus_shortname = 'phpopencv' ;
148
+ var disqus_url = 'http://phpopencv.org/api/core_functions.html' ;
149
+ var disqus_title = "核心模块方法" ;
150
+ var disqus_config = function ( ) {
151
+ this . language = 'en' ;
152
+ } ;
153
+ ( function ( ) {
154
+ var dsq = document . createElement ( 'script' ) ; dsq . type = 'text/javascript' ; dsq . async = true ;
155
+ dsq . src = 'https://go.disqus.com/embed.js' ;
156
+ ( document . getElementsByTagName ( 'head' ) [ 0 ] || document . getElementsByTagName ( 'body' ) [ 0 ] ) . appendChild ( dsq ) ;
157
+ } ) ( ) ;
158
+ </ script >
159
+
160
+ </ div >
161
+ </ div >
162
+ < aside id ="article-toc " role ="navigation ">
163
+ < div id ="article-toc-inner ">
164
+ < strong class ="sidebar-title "> Contents</ strong >
165
+ < ol class ="toc "> < li class ="toc-item toc-level-1 "> < a class ="toc-link " href ="#boundingRect "> < span class ="toc-text "> boundingRect</ span > </ a > </ li > </ ol >
166
+ < a href ="# " id ="article-toc-top "> Back to Top</ a >
167
+ </ div >
168
+ </ aside >
169
+ </ div >
170
+ </ article >
171
+ < aside id ="sidebar " role ="navigation ">
172
+ < div class ="inner "> < strong class ="sidebar-title "> 基本</ strong > < a href ="index.html " class ="sidebar-link "> Overview</ a > < strong class ="sidebar-title "> Core</ strong > < a href ="core_constants.html " class ="sidebar-link "> Constants</ a > < a href ="core_functions.html " class ="sidebar-link current "> Functions</ a > < a href ="mat.html " class ="sidebar-link "> Mat</ a > < a href ="rotated_rect.html " class ="sidebar-link "> RotatedRect</ a > < strong class ="sidebar-title "> Imgproc</ strong > < a href ="imgproc_constants.html " class ="sidebar-link "> Constants</ a > < a href ="imgproc_functions.html " class ="sidebar-link "> Functions</ a > </ div >
173
+ </ aside >
174
+ </ div >
175
+ </ div >
176
+ </ div >
177
+
178
+ < footer id ="footer " class ="wrapper ">
179
+ < div class ="inner ">
180
+ < div id ="footer-copyright ">
181
+ © 2019 < a href ="https://github.com/hihozhou " target ="_blank "> HiHo Zhou</ a > < br >
182
+ Documentation licensed under < a href ="http://creativecommons.org/licenses/by/4.0/ " target ="_blank "> CC BY 4.0</ a > .
183
+ </ div >
184
+ < div id ="footer-links ">
185
+ < a href ="http://weibo.com/hexojs " class ="footer-link " target ="_blank "> < i class ="fa fa-weibo "> </ i > </ a >
186
+ < a href ="https://twitter.com/hexojs " class ="footer-link " target ="_blank "> < i class ="fa fa-twitter "> </ i > </ a >
187
+ < a href ="https://github.com/hihozhou/php-opencv " class ="footer-link " target ="_blank "> < i class ="fa fa-github-alt "> </ i > </ a >
188
+ </ div >
189
+ </ div >
190
+ </ footer >
191
+
192
+ </ div >
193
+ < div id ="mobile-nav-dimmer "> </ div >
194
+ < nav id ="mobile-nav ">
195
+ < div id ="mobile-nav-inner ">
196
+ < ul id ="mobile-nav-list ">
197
+ < a href ="/docs/ " class ="mobile-nav-link "> Docs</ a >
198
+ < li class ="mobile-nav-item ">
199
+ < a href ="https://github.com/hihozhou/php-opencv " class ="mobile-nav-link " rel ="external " target ="_blank "> GitHub</ a >
200
+ </ li >
201
+ </ ul >
202
+
203
+ < strong class ="mobile-nav-title "> 基本</ strong > < a href ="index.html " class ="mobile-nav-link "> Overview</ a > < strong class ="mobile-nav-title "> Core</ strong > < a href ="core_constants.html " class ="mobile-nav-link "> Constants</ a > < a href ="core_functions.html " class ="mobile-nav-link current "> Functions</ a > < a href ="mat.html " class ="mobile-nav-link "> Mat</ a > < a href ="rotated_rect.html " class ="mobile-nav-link "> RotatedRect</ a > < strong class ="mobile-nav-title "> Imgproc</ strong > < a href ="imgproc_constants.html " class ="mobile-nav-link "> Constants</ a > < a href ="imgproc_functions.html " class ="mobile-nav-link "> Functions</ a >
204
+
205
+ </ div >
206
+ < div id ="mobile-lang-select-wrap ">
207
+ < span id ="mobile-lang-select-label "> < i class ="fa fa-globe "> </ i > < span > English</ span > </ span >
208
+ < select id ="mobile-lang-select " data-canonical ="api/core_functions.html ">
209
+
210
+ < option value ="en " selected > English</ option >
211
+
212
+ < option value ="zh-cn "> 简体中文</ option >
213
+
214
+ </ select >
215
+ </ div >
216
+ </ nav >
217
+ <!-- Scripts -->
218
+ <!-- build:js build/js/main.js -->
219
+ < script src ="/js/lang_select.js "> </ script >
220
+ < script src ="/js/scrollingelement.js "> </ script >
221
+ < script src ="/js/toc.js "> </ script >
222
+ < script src ="/js/mobile_nav.js "> </ script >
223
+ <!-- endbuild -->
224
+ < script src ="https://cdn.jsdelivr.net/retinajs/1.3.0/retina.min.js " async > </ script >
225
+
226
+ <!-- Algolia -->
227
+
228
+ < script type ="text/javascript " src ="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.js "> </ script >
229
+ < script type ="text/javascript ">
230
+ document . getElementById ( 'search-input-wrap' ) . classList . add ( 'on' ) ;
231
+ docsearch ( {
232
+ apiKey : 'c3d5d4c995b5e0c2ffb5623900279a66' ,
233
+ indexName : 'hexo' ,
234
+ inputSelector : '#search-input'
235
+ } ) ;
236
+ </ script >
237
+
238
+
239
+ </ body >
240
+ </ html >
0 commit comments