Question: How can I set a CFG_WSQ_BITRATE parameter in Java/C#?


Answer:

The IDKit parameters were divided into 2 separate groups in our wrappers - Instance parameters & global parameters.

Global Parameters are:

- CFG_LOG_LEVEL
- CFG_MIN_MATCHING_FINGERPRINTS
- CFG_MAX_ODBC_LOADING_THREADS
- CFG_ENABLE_FP_FALSE_MATCH_ELIMINATION
- CFG_FP_FALSE_MATCH_ELIMINATION_THRESHOLD
- CFG_FP_FALSE_MATCH_CHECK_THRESHOLD
- CFG_MAX_IENGINE_THREAD_COUNT
- CFG_TRACING_ENABLED


Instance parameters:

- CFG_BEST_CANDIDATES_COUNT 
- CFG_SIMILARITY_THRESHOLD 
- CFG_SCANNER_TYPE
- CFG_RESOLUTION_DPI 
- CFG_MAX_ROTATION 
- CFG_STORE_IMAGES 
- CFG_IDENTIFICATION_SPEED 
- CFG_NETWORK_COMPRESSION 
- CFG_MAX_TEMPLATE_SIZE 
- CFG_JPEG2K_COMPRESSION_RATIO 
- CFG_WSQ_BITRATE 
- CFG_DB_IMAGE_FORMAT 
- CFG_LOAD_IMAGES 
- CFG_ICS_TEMPLATE_VERSION 
- CFG_EXTRACT_CRITICAL_POINTS 
- CFG_EXTRACTOR_ALGORITHM 
- CFG_IFACE_DETECT_FORCED 
- CFG_IFACE_IGNORE_MULTIPLE_FACES 
- CFG_IFACE_DETECTION_MODE 
- CFG_IFACE_EXTRACTION_MODE 
- CFG_IFACE_DETECTION_THRESHOLD



Java:

Instance parameters are set via an IDKit instance:

IDKit idkit = IDKit.getInstance();

idkit.setParameter(InstanceParameter.CFG_WSQ_BITRATE, 15);


Global parameters are set statically:

IDKit.setParameter(GlobalParameter.CFG_LOG_LEVEL, 4);

C#:

Instance parameters are set via Connection:

Connection conn = new Connection();
conn.setParameter(CFG_WSQ_BITRATE, 15);

Global parameters are set via IDKit class:

IDKit.SetParameter(CFG_LOG_LEVEL, 4);