Example #1
0
        public static NeuralNet Create(string game)
        {
            var nn = new NeuralNet {
                trainingNames = null, yoloWrapper = GetYolo(game), yoloTracking = new YoloTracking(GetYolo(game), 80)
            };

            return(nn.yoloWrapper == null ? null : nn);
        }
Example #2
0
        private bool bTargetUpdated; // true - need to update targetRendered (copy value from targetDetected)

        //debug
        //private readonly Stopwatch debugPerformanceStopwatch = new Stopwatch();
        //private int debugTotalTimesRun = 0;
        //private int debugFoundTarget = 0;
        //private static List<float> SyncList = new List<float>();

        public Aimbot(Settings settings, NeuralNet neuralNet)
        {
            nn = neuralNet;
            s  = settings;
            dh = new DrawHelper(settings);
        }