@@ -150,7 +150,7 @@ public function col($x) {
150
150
151
151
/**
152
152
* @param array $rect
153
- * @return Mat $mat
153
+ * @return Mat $image
154
154
*/
155
155
public function getImageROI (Rect $ rect ) {
156
156
@@ -412,7 +412,7 @@ public function load(string $filename) {
412
412
}
413
413
414
414
/**
415
- * @param Mat $mat
415
+ * @param Mat $image
416
416
* @param array $objects
417
417
* @param float $scale_factor
418
418
* @param int $min_neighbors
@@ -421,7 +421,7 @@ public function load(string $filename) {
421
421
* @param Size|null $maxSize
422
422
* @return null
423
423
*/
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 ) {
425
425
return null ;
426
426
}
427
427
}
@@ -437,24 +437,24 @@ function imread(string $filename, $flags = null) {
437
437
438
438
/**
439
439
* @param string $filename
440
- * @param Mat $mat
440
+ * @param Mat $image
441
441
* @return true|null
442
442
*/
443
- function imwrite (string $ filename , Mat $ mat ) {
443
+ function imwrite (string $ filename , Mat $ image ) {
444
444
445
445
}
446
446
447
447
/**
448
- * @param Mat $mat
448
+ * @param Mat $image
449
449
* @param $code
450
450
* @return Mat|null
451
451
*/
452
- function cvtColor (Mat $ mat , $ code , $ dstCn = null ) {
452
+ function cvtColor (Mat $ image , $ code , $ dstCn = null ) {
453
453
454
454
}
455
455
456
456
/**
457
- * @param Mat $mat
457
+ * @param Mat $image
458
458
* @param Point $startPoint
459
459
* @param Point $endPoint
460
460
* @param Scalar $color
@@ -463,12 +463,12 @@ function cvtColor(Mat $mat, $code, $dstCn = null) {
463
463
* @param int $shift
464
464
* @return null
465
465
*/
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 ) {
467
467
return null ;
468
468
}
469
469
470
470
/**
471
- * @param Mat $mat
471
+ * @param Mat $image
472
472
* @param Point $point
473
473
* @param int $radius
474
474
* @param Scalar $color
@@ -477,12 +477,12 @@ function line(Mat $mat, Point $startPoint, Point $endPoint, Scalar $color, int $
477
477
* @param int $shift
478
478
* @return null
479
479
*/
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 ) {
481
481
return null ;
482
482
}
483
483
484
484
/**
485
- * @param Mat $mat
485
+ * @param Mat $image
486
486
* @param Point $point
487
487
* @param Size $size
488
488
* @param int $angle
@@ -494,12 +494,12 @@ function circle(Mat $mat, Point $point, int $radius, Scalar $color, int $thickne
494
494
* @param int $shift
495
495
* @return null
496
496
*/
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 ) {
498
498
return null ;
499
499
}
500
500
501
501
/**
502
- * @param Mat $mat
502
+ * @param Mat $image
503
503
* @param int $startX
504
504
* @param int $startY
505
505
* @param int $endX
@@ -510,12 +510,12 @@ function ellipse(Mat $mat, Point $point, Size $size, int $angle, int $startAngle
510
510
* @param int $shift
511
511
* @return null
512
512
*/
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 ) {
514
514
return null ;
515
515
}
516
516
517
517
/**
518
- * @param Mat $mat
518
+ * @param Mat $image
519
519
* @param Point $startPoint
520
520
* @param Point $endPoint
521
521
* @param Scalar $color
@@ -524,25 +524,25 @@ function rectangle(Mat $mat, int $startX, int $startY, int $endX, int $endY, Sca
524
524
* @param int $shift
525
525
* @return null
526
526
*/
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 ) {
528
528
return null ;
529
529
}
530
530
531
531
/**
532
- * @param Mat $mat
532
+ * @param Mat $image
533
533
* @param Rect $rect
534
534
* @param Scalar $color
535
535
* @param int $thickness
536
536
* @param int|null $lineType
537
537
* @param int $shift
538
538
* @return null
539
539
*/
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 ) {
541
541
return null ;
542
542
}
543
543
544
544
/**
545
- * @param Mat $mat
545
+ * @param Mat $image
546
546
* @param string $text
547
547
* @param Point $point
548
548
* @param int $fontFace
@@ -553,29 +553,29 @@ function rectangleByRect(Mat $mat, Rect $rect, Scalar $color, int $thickness = 1
553
553
* @param bool $bottomLeftOrigin
554
554
* @return null
555
555
*/
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 ) {
557
557
return null ;
558
558
}
559
559
560
560
/**
561
- * @param Mat $mat
561
+ * @param Mat $image
562
562
* @param Mat $dst
563
563
* @return null
564
564
*/
565
- function equalizeHist (Mat $ mat , Mat &$ dst ) {
565
+ function equalizeHist (Mat $ image , Mat &$ dst ) {
566
566
return null ;
567
567
}
568
568
569
569
/**
570
- * @param Mat $mat
570
+ * @param Mat $image
571
571
* @param Mat $dst
572
572
* @param Size $size
573
573
* @param float $fx
574
574
* @param float $fy
575
575
* @param int $interpolation
576
576
* @return null
577
577
*/
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 ) {
579
579
return null ;
580
580
}
581
581
@@ -1000,12 +1000,12 @@ public function loadModel(string $filename) {
1000
1000
}
1001
1001
1002
1002
/**
1003
- * @param Mat $mat
1003
+ * @param Mat $image
1004
1004
* @param array $faces
1005
1005
* @param array $landmarks
1006
1006
* @return null
1007
1007
*/
1008
- public function fit (Mat $ mat , array $ faces , array &$ landmarks ) {
1008
+ public function fit (Mat $ image , array $ faces , array &$ landmarks ) {
1009
1009
return null ;
1010
1010
}
1011
1011
}
0 commit comments