|
|
|
|
[Home][20 Database Input][20.4 Parameter Input]
|
|
20.4 Database Parameter InputThe database input requires:
The first variable is used to build the connection string for a database: "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + database The second SQL statement will get data. Examples are: Select image from imagetable1. Select path, name from imagetable2. If the query selects multiple fields, this library will build the image path by path+name. The chapter project will obtain both input parameters in a single click of the “Source” button. Now the project will accommodate 8 different types of input; you must select an input type when the program runs:
When the program starts, Figure 19.1 will be displayed, which allows the user to make a selection. After the project starts, the Input source can be changed via the “Mode” button in the Figure 19.2. Click the “Source” button to select Microsoft Access file; the program will also prompt you to enter the SQL statement with the second Dialog box:
Figure 20.1 SQL Statement. Users will enter the SQL statement in Figure 20.1.
[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. |