Ejemplo n.º 1
0
        public void OccurencesLookup()
        {
            var screenshot = _calculatorSession.GetScreenshot();
            var options    = new OccurenceMatchingOptions {
                Visualize = true
            };

            var occurencesResult = _calculatorSession.FindImageOccurence(screenshot.AsBase64EncodedString, screenshot.AsBase64EncodedString, options);

            Assert.IsNotNull(occurencesResult.Rect);
            Assert.IsNotNull(occurencesResult.Visualization);
        }