alot
This commit is contained in:
+8
-4
@@ -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 { }
|
||||
}
|
||||
|
||||
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 3.0 MiB After Width: | Height: | Size: 193 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1.4 MiB After Width: | Height: | Size: 89 KiB |
Vendored
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 100 KiB |
Reference in New Issue
Block a user