@@ -150,7 +150,7 @@ public function col($x) {
150150
151151 /**
152152 * @param array $rect
153- * @return Mat $mat
153+ * @return Mat $image
154154 */
155155 public function getImageROI (Rect $ rect ) {
156156
@@ -412,7 +412,7 @@ public function load(string $filename) {
412412 }
413413
414414 /**
415- * @param Mat $mat
415+ * @param Mat $image
416416 * @param array $objects
417417 * @param float $scale_factor
418418 * @param int $min_neighbors
@@ -421,7 +421,7 @@ public function load(string $filename) {
421421 * @param Size|null $maxSize
422422 * @return null
423423 */
424- public function detectMultiScale (Mat $ mat , array &$ rects , float $ scale_factor = 1.1 , int $ min_neighbors = 3 , int $ flags = 0 , Size $ minSize = null , Size $ maxSize = null ) {
424+ public function detectMultiScale (Mat $ image , array &$ rects , float $ scale_factor = 1.1 , int $ min_neighbors = 3 , int $ flags = 0 , Size $ minSize = null , Size $ maxSize = null ) {
425425 return null ;
426426 }
427427}
@@ -437,24 +437,24 @@ function imread(string $filename, $flags = null) {
437437
438438/**
439439 * @param string $filename
440- * @param Mat $mat
440+ * @param Mat $image
441441 * @return true|null
442442 */
443- function imwrite (string $ filename , Mat $ mat ) {
443+ function imwrite (string $ filename , Mat $ image ) {
444444
445445}
446446
447447/**
448- * @param Mat $mat
448+ * @param Mat $image
449449 * @param $code
450450 * @return Mat|null
451451 */
452- function cvtColor (Mat $ mat , $ code , $ dstCn = null ) {
452+ function cvtColor (Mat $ image , $ code , $ dstCn = null ) {
453453
454454}
455455
456456/**
457- * @param Mat $mat
457+ * @param Mat $image
458458 * @param Point $startPoint
459459 * @param Point $endPoint
460460 * @param Scalar $color
@@ -463,12 +463,12 @@ function cvtColor(Mat $mat, $code, $dstCn = null) {
463463 * @param int $shift
464464 * @return null
465465 */
466- function line (Mat $ mat , Point $ startPoint , Point $ endPoint , Scalar $ color , int $ thickness = 1 , int $ lineType = null , int $ shift = 0 ) {
466+ function line (Mat $ image , Point $ startPoint , Point $ endPoint , Scalar $ color , int $ thickness = 1 , int $ lineType = null , int $ shift = 0 ) {
467467 return null ;
468468}
469469
470470/**
471- * @param Mat $mat
471+ * @param Mat $image
472472 * @param Point $point
473473 * @param int $radius
474474 * @param Scalar $color
@@ -477,12 +477,12 @@ function line(Mat $mat, Point $startPoint, Point $endPoint, Scalar $color, int $
477477 * @param int $shift
478478 * @return null
479479 */
480- function circle (Mat $ mat , Point $ point , int $ radius , Scalar $ color , int $ thickness = 1 , int $ lineType = null , int $ shift = 0 ) {
480+ function circle (Mat $ image , Point $ point , int $ radius , Scalar $ color , int $ thickness = 1 , int $ lineType = null , int $ shift = 0 ) {
481481 return null ;
482482}
483483
484484/**
485- * @param Mat $mat
485+ * @param Mat $image
486486 * @param Point $point
487487 * @param Size $size
488488 * @param int $angle
@@ -494,12 +494,12 @@ function circle(Mat $mat, Point $point, int $radius, Scalar $color, int $thickne
494494 * @param int $shift
495495 * @return null
496496 */
497- function ellipse (Mat $ mat , Point $ point , Size $ size , int $ angle , int $ startAngle , int $ endAngle , Scalar $ color , int $ thickness = 1 , int $ lineType = null , int $ shift = 0 ) {
497+ function ellipse (Mat $ image , Point $ point , Size $ size , int $ angle , int $ startAngle , int $ endAngle , Scalar $ color , int $ thickness = 1 , int $ lineType = null , int $ shift = 0 ) {
498498 return null ;
499499}
500500
501501/**
502- * @param Mat $mat
502+ * @param Mat $image
503503 * @param int $startX
504504 * @param int $startY
505505 * @param int $endX
@@ -510,12 +510,12 @@ function ellipse(Mat $mat, Point $point, Size $size, int $angle, int $startAngle
510510 * @param int $shift
511511 * @return null
512512 */
513- function rectangle (Mat $ mat , int $ startX , int $ startY , int $ endX , int $ endY , Scalar $ color , int $ thickness = 1 , int $ lineType = null , int $ shift = 0 ) {
513+ function rectangle (Mat $ image , int $ startX , int $ startY , int $ endX , int $ endY , Scalar $ color , int $ thickness = 1 , int $ lineType = null , int $ shift = 0 ) {
514514 return null ;
515515}
516516
517517/**
518- * @param Mat $mat
518+ * @param Mat $image
519519 * @param Point $startPoint
520520 * @param Point $endPoint
521521 * @param Scalar $color
@@ -524,25 +524,25 @@ function rectangle(Mat $mat, int $startX, int $startY, int $endX, int $endY, Sca
524524 * @param int $shift
525525 * @return null
526526 */
527- function rectangleByPoint (Mat $ mat , Point $ startPoint , Point $ endPoint , Scalar $ color , int $ thickness = 1 , int $ lineType = null , int $ shift = 0 ) {
527+ function rectangleByPoint (Mat $ image , Point $ startPoint , Point $ endPoint , Scalar $ color , int $ thickness = 1 , int $ lineType = null , int $ shift = 0 ) {
528528 return null ;
529529}
530530
531531/**
532- * @param Mat $mat
532+ * @param Mat $image
533533 * @param Rect $rect
534534 * @param Scalar $color
535535 * @param int $thickness
536536 * @param int|null $lineType
537537 * @param int $shift
538538 * @return null
539539 */
540- function rectangleByRect (Mat $ mat , Rect $ rect , Scalar $ color , int $ thickness = 1 , int $ lineType = null , int $ shift = 0 ) {
540+ function rectangleByRect (Mat $ image , Rect $ rect , Scalar $ color , int $ thickness = 1 , int $ lineType = null , int $ shift = 0 ) {
541541 return null ;
542542}
543543
544544/**
545- * @param Mat $mat
545+ * @param Mat $image
546546 * @param string $text
547547 * @param Point $point
548548 * @param int $fontFace
@@ -553,29 +553,29 @@ function rectangleByRect(Mat $mat, Rect $rect, Scalar $color, int $thickness = 1
553553 * @param bool $bottomLeftOrigin
554554 * @return null
555555 */
556- function putText (Mat $ mat , string $ text , Point $ point , int $ fontFace , float $ fontScale , Scalar $ color , int $ thickness = 1 , int $ lineType = null , bool $ bottomLeftOrigin = false ) {
556+ function putText (Mat $ image , string $ text , Point $ point , int $ fontFace , float $ fontScale , Scalar $ color , int $ thickness = 1 , int $ lineType = null , bool $ bottomLeftOrigin = false ) {
557557 return null ;
558558}
559559
560560/**
561- * @param Mat $mat
561+ * @param Mat $image
562562 * @param Mat $dst
563563 * @return null
564564 */
565- function equalizeHist (Mat $ mat , Mat &$ dst ) {
565+ function equalizeHist (Mat $ image , Mat &$ dst ) {
566566 return null ;
567567}
568568
569569/**
570- * @param Mat $mat
570+ * @param Mat $image
571571 * @param Mat $dst
572572 * @param Size $size
573573 * @param float $fx
574574 * @param float $fy
575575 * @param int $interpolation
576576 * @return null
577577 */
578- function resize (Mat $ mat , Mat &$ dst , Size $ size , float $ fx = 0 , float $ fy = 0 , int $ interpolation = 1 ) {
578+ function resize (Mat $ image , Mat &$ dst , Size $ size , float $ fx = 0 , float $ fy = 0 , int $ interpolation = 1 ) {
579579 return null ;
580580}
581581
@@ -1000,12 +1000,12 @@ public function loadModel(string $filename) {
10001000 }
10011001
10021002 /**
1003- * @param Mat $mat
1003+ * @param Mat $image
10041004 * @param array $faces
10051005 * @param array $landmarks
10061006 * @return null
10071007 */
1008- public function fit (Mat $ mat , array $ faces , array &$ landmarks ) {
1008+ public function fit (Mat $ image , array $ faces , array &$ landmarks ) {
10091009 return null ;
10101010 }
10111011}
0 commit comments