Пример #1
0
        public void SuggestImages(Control container)
        {
            NeuralNetworkMain NetMain = new NeuralNetworkMain();

            for (int i = imageList.Count - 1; i >= 0; i--)
            {
                if (NetMain.getResult((Bitmap)((PictureBox)container.Controls[i]).Image))
                {
                    var checkBox = ((CheckBox)container.Controls[i].Controls[0]);
                    checkBox.Checked = !checkBox.Checked;
                }
            }
        }
Пример #2
0
 public ImageForm(List <Bitmap> imageList)
 {
     this.imageList = imageList;
     NetMain        = new NeuralNetworkMain();
 }