|
|
|
|
[Home][27 ImageHunt ][27.10 Step 4]
|
|
27.10 Step 4. Batch RunNow the batch file is created, and we simply make a batch run: void start() {
matchLocation = Server.MapPath(filePath) + "\\" ;
bool b = createFile (); if (!b) { Label1.Text = "Creating parameter file fails!" ; return ; }
…
d70 = new Attrasoft.TransApplet70.Dos70.Dos70 ();
d70.setFilePath (matchLocation); d70.open (1); …
70.run ();
Response.Redirect ("imagefinder/b1.htm"); } The following code creates a batch file: bool b = createFile (); if (!b) { Label1.Text = "Creating parameter file fails!" ; return ; } The following code creates a Dos70 object: d70 = new Attrasoft.TransApplet70.Dos70.Dos70 (); The following code sets up the parameters: d70.setFilePath (matchLocation); d70.open (1); … The following code runs the batch file: 70.run (); This statement will create an ImageFinder output file. The last step is to show the results: Response.Redirect ("imagefinder/b1.htm").
[Home][About][1 Introduction][2 Image Recognition][3 TransApplet][4 API][5 Interface][6 Input][7 Image Display][8 Preprocessing][9 Processing][10 Normalization][11 Parameter Class][12 Image Signatures][13 Unsupervised Filters][14 BioFilters][15 NeuralFilters][16 Dynamic Library][17 NeuralNet Filter][18 Parameters][19 Input Options][20 Database Input][21 Video Input][22 Live Video Input][23 Counting & Tracking][24 Counting ][25 Batch Job][26 ImageFinder for DOS][27 ImageHunt ][28 Support Packages]
Copyright (c) 2006 - 2007 Attrasoft. All rights reserved. |