public void Detect_HumanNotInThePhoto_ReturnFalse()
        {
            using (var photo = new Bitmap(@"C:\Users\z00s600157\Pictures\SeatMonitoringAPITest用画像\NotExists画像.jpg"))
            {
                var humanDetector = new HumanDetector();

                Assert.IsFalse(humanDetector.Detect(photo));
            }
        }
Beispiel #2
0
 protected override void OnStartup(StartupEventArgs e)
 {
     base.OnStartup(e);
     Appearance.Initialize();
     HumanDetector.InitializeDetector();
 }