~paparazzi-uav/paparazzi/v5.0-manual

« back to all changes in this revision

Viewing changes to sw/ext/opencv_bebop/opencv/samples/winrt/FaceDetection/FaceDetection/MainPage.xaml.h

  • Committer: Paparazzi buildbot
  • Date: 2016-05-18 15:00:29 UTC
  • Revision ID: felix.ruess+docbot@gmail.com-20160518150029-e8lgzi5kvb4p7un9
Manual import commit 4b8bbb730080dac23cf816b98908dacfabe2a8ec from v5.0 branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//
 
2
// MainPage.xaml.h
 
3
// Declaration of the MainPage class.
 
4
//
 
5
 
 
6
#pragma once
 
7
 
 
8
#include "MainPage.g.h"
 
9
#include <opencv2\core\core.hpp>
 
10
#include <opencv2\objdetect.hpp>
 
11
 
 
12
 
 
13
namespace FaceDetection
 
14
{
 
15
    /// <summary>
 
16
    /// An empty page that can be used on its own or navigated to within a Frame.
 
17
    /// </summary>
 
18
    public ref class MainPage sealed
 
19
    {
 
20
    public:
 
21
        MainPage();
 
22
 
 
23
    private:
 
24
        void InitBtn_Click(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e);
 
25
        void detectBtn_Click(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e);
 
26
 
 
27
    private:
 
28
        cv::Mat groupFaces;
 
29
        void UpdateImage(const cv::Mat& image);
 
30
        cv::CascadeClassifier face_cascade;
 
31
    };
 
32
}
 
 
b'\\ No newline at end of file'