#pragma once #include #include // ¼Çס°üº¬opencvĿ¼ #include #pragma comment(lib, "user32.lib") namespace _wss { /** * »ñȡָ¶¨´°¿Ú¾ä±úµÄmat * @Param : h */ cv::Mat get_window_bits(HWND h); /** * Ö±½Ó¸ù¾Ý´°¿Ú½øÐнØÍ¼ * @Param : name * @Param : h */ cv::Mat screen_shot_by_window(std::string name); cv::Mat screen_shot_by_window(HWND h); /** * ÏȽØÈ¡È«ÆÁºó¸ù¾Ý´°¿ÚλÖýøÐнØÍ¼ * @Param : name * @Param : h */ cv::Mat screen_shot_by_full_screen(std::string name); cv::Mat screen_shot_by_full_screen(HWND h); }