This commit is contained in:
Kq
2026-08-12 03:57:27 +02:00
parent 084aefbbd7
commit 811773062e
4 changed files with 10 additions and 6 deletions
+8 -4
View File
@@ -121,19 +121,23 @@ namespace BarcodeReaderExample
{
client.DownloadFile(result.Text, "cache/"+files_index + ".png");
// Thread.Sleep(2000);
}
Cached[files_index] = new Mat("cache/" + files_index + ".png");
files_index++;
}
else
{
try
{
// try
// {
int toload = files.IndexOf(result.Text);
Mat roi2 = frame[new Rect((int)pos3[0], (int)pos3[1], Cached[toload].Width, Cached[toload].Height)];
Cached[toload].CopyTo(roi2);
}
catch { }
// Console.WriteLine("work");
// }
// catch { }
}
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 MiB

After

Width:  |  Height:  |  Size: 193 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 89 KiB

Vendored
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 100 KiB