LEADTOOLS Support
General
LEADTOOLS SDK Examples
If my command.Run elpsed much time, can I force to exit te recognition?
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Thursday, March 1, 2012 7:53:59 AM(UTC)
Groups: Registered
Posts: 1
public void CorrelationCommandExample()
{
// Load an image
RasterCodecs codecs = new RasterCodecs();
codecs.ThrowExceptionsOnInvalidImages = true;
for (int i = 1; i = 1)
{
tiempo += "ENCONTRADO";
}
else
{
tiempo += "NO ENCONTRADO";
}
MessageBox.Show(tiempo);
}
MessageBox.Show("FIN");
#2
Posted
:
Friday, March 2, 2012 11:47:03 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Could describe in more detail which Lead components you're using?
If you'd like to quit an operation(recognition for example) after a certain time, you could just start the command on it's own thread, and then call the Abort method when it's time has exceeded a set amount.
LEADTOOLS Support
General
LEADTOOLS SDK Examples
If my command.Run elpsed much time, can I force to exit te recognition?
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.