|
Revision 22561, 0.7 kB
(checked in by schima, 5 years ago)
|
|
CvHaarClassifierを追加。
|
| Line | |
|---|
| 1 | /**
|
|---|
| 2 | * (C) 2008 Schima
|
|---|
| 3 | * This code is licenced under the LGPL.
|
|---|
| 4 | */
|
|---|
| 5 |
|
|---|
| 6 | #include "StdAfx.h"
|
|---|
| 7 | #include "CvHaarFeatureRect.h"
|
|---|
| 8 |
|
|---|
| 9 | using namespace System;
|
|---|
| 10 |
|
|---|
| 11 | namespace KwsmLab {
|
|---|
| 12 | namespace OpenCvSharp
|
|---|
| 13 | {
|
|---|
| 14 | /// <summary>
|
|---|
| 15 | /// ���� /// </summary>
|
|---|
| 16 | /// <param name="r">��</param>
|
|---|
| 17 | /// <param name="weight">�d��/param>
|
|---|
| 18 | CvHaarFeatureRect::CvHaarFeatureRect(N::CvRect r, Single weight)
|
|---|
| 19 | {
|
|---|
| 20 | this->R = r;
|
|---|
| 21 | this->Weight = weight;
|
|---|
| 22 | }
|
|---|
| 23 |
|
|---|
| 24 | /// <summary>
|
|---|
| 25 | /// ����������
|
|---|
| 26 | /// </summary>
|
|---|
| 27 | /// <returns>�������</returns>
|
|---|
| 28 | String^ CvHaarFeatureRect::ToString()
|
|---|
| 29 | {
|
|---|
| 30 | return String::Format("CvHaarFeatureRect (R:{0} Weight:{1})", R, Weight);
|
|---|
| 31 | }
|
|---|
| 32 | }
|
|---|
| 33 | }
|
|---|