This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CMake Deprecation Warning at CMakeLists.txt:5 (cmake_minimum_required): | |
| Compatibility with CMake < 3.10 will be removed from a future version of | |
| CMake. | |
| Update the VERSION argument <min> value. Or, use the <min>...<max> syntax | |
| to tell CMake that the project requires at least <min> but has been updated | |
| to work with policies introduced by <max> or earlier. | |
| -- Found Git: /usr/bin/git (found version "2.43.0") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sys | |
| import cv | |
| class FaceDetect(): | |
| def __init__(self): | |
| cv.NamedWindow ("CamShiftDemo", 1) | |
| device = 0 | |
| self.capture = cv.CaptureFromCAM(device) | |
| capture_size = (320,200) | |
| cv.SetCaptureProperty(self.capture, cv.CV_CAP_PROP_FRAME_WIDTH, capture_size[0]) |