Skip to content

Commit

Permalink
reward recognition optimisations
Browse files Browse the repository at this point in the history
  • Loading branch information
jarig committed Jan 23, 2016
1 parent 7944e1e commit 79c5b04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EliteReporter/Utils/ScreenAnalyzer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public MissionInfo findAndAnalyzeMissionSummaryPage(string pathToBmp, bool inclu

}
}
source = source.GetSubRect(new Rectangle((int)(450*widthFactor), 0, source.Width - (int)(450*widthFactor), source.Height));
source = source.GetSubRect(new Rectangle((int)(450*widthFactor), 0, source.Width - (int)(450*widthFactor) - 10, source.Height));
using (Image<Gray, float> result = source.MatchTemplate(rewardTemplate, Emgu.CV.CvEnum.TemplateMatchingType.CcoeffNormed))
{
double[] minValues, maxValues;
Expand Down

0 comments on commit 79c5b04

Please sign in to comment.