You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
99 lines
2.8 KiB
C
99 lines
2.8 KiB
C
#ifndef __CyclopsVersion_h_
|
|
#define __CyclopsVersion_h_
|
|
|
|
#define CYCLOPS_VERSION_MAJOR 3
|
|
#define CYCLOPS_VERSION_MINOR 5
|
|
#define CYCLOPS_VERSION_MICRO 9
|
|
#define CYCLOPS_VERSION_INTERNAL 1
|
|
|
|
// Feature Flags ---begin
|
|
// to control whether to compile specific module into dll or not
|
|
// comment it out if disable importation of that module
|
|
// or, use module macro to pick your wants
|
|
#include "CyclopsCommon.h"
|
|
|
|
// Basic features: ROI, wrapper to OpenCV functions, etc.
|
|
// Should be always enabled
|
|
#define CYCLOPS_UTILS_SPEC
|
|
#define CYCLOPS_UTILS_DLLSPEC CYCLOPS_DLLSPEC
|
|
|
|
// Geometry features: fitting, bounding shapes, intersection, etc.
|
|
#if defined(CYCLOPS_GEOM) || !defined(CYCLOPS_MODULE)
|
|
#define CYCLOPS_GEOM_SPEC
|
|
#define CYCLOPS_GEOM_DLLSPEC CYCLOPS_DLLSPEC
|
|
#else
|
|
#define CYCLOPS_GEOM_DLLSPEC
|
|
#endif
|
|
|
|
// Image processing feature: image filter, image registration, etc.
|
|
#if defined(CYCLOPS_IMGPROC) || !defined(CYCLOPS_MODULE)
|
|
#define CYCLOPS_IMGPROC_SPEC
|
|
#define CYCLOPS_IMGPROC_DLLSPEC CYCLOPS_DLLSPEC
|
|
#else
|
|
#define CYCLOPS_IMGPROC_DLLSPEC
|
|
#endif
|
|
|
|
// Calibration module: camera calibration, flat field calibration, etc.
|
|
#if defined(CYCLOPS_CALIB) || !defined(CYCLOPS_MODULE)
|
|
#define CYCLOPS_CALIB_SPEC
|
|
#define CYCLOPS_CALIB_DLLSPEC CYCLOPS_DLLSPEC
|
|
#else
|
|
#define CYCLOPS_CALIB_DLLSPEC
|
|
#endif
|
|
|
|
// Basic location detection feature, including simple line, circle, blob analysis, etc.
|
|
#if defined(CYCLOPS_LOCATE) || !defined(CYCLOPS_MODULE)
|
|
#define CYCLOPS_LOCATE_SPEC
|
|
#define CYCLOPS_LOCATE_DLLSPEC CYCLOPS_DLLSPEC
|
|
#else
|
|
#define CYCLOPS_LOCATE_DLLSPEC
|
|
#endif
|
|
|
|
// Advanced location detection feature, including pattern, subpix contour, etc.
|
|
#if defined(CYCLOPS_LOCATE_ADV) || !defined(CYCLOPS_MODULE)
|
|
#define CYCLOPS_LOCATE_ADV_SPEC
|
|
#define CYCLOPS_LOCATE_ADV_DLLSPEC CYCLOPS_DLLSPEC
|
|
#else
|
|
#define CYCLOPS_LOCATE_ADV_DLLSPEC
|
|
#endif
|
|
|
|
// 1D and 2D barcode detection feature
|
|
#if defined(CYCLOPS_BARCODE) || !defined(CYCLOPS_MODULE)
|
|
#define CYCLOPS_BARCODE_SPEC
|
|
#define CYCLOPS_BARCODE_DLLSPEC CYCLOPS_DLLSPEC
|
|
#else
|
|
#define CYCLOPS_BARCODE_DLLSPEC
|
|
#endif
|
|
|
|
// OCR feature
|
|
#if defined(CYCLOPS_OCR) || !defined(CYCLOPS_MODULE)
|
|
#define CYCLOPS_OCR_SPEC
|
|
#define CYCLOPS_OCR_DLLSPEC CYCLOPS_DLLSPEC
|
|
#else
|
|
#define CYCLOPS_OCR_DLLSPEC
|
|
#endif
|
|
|
|
// add new feature flags above
|
|
|
|
// !!! Following modules will be disabled in trial version
|
|
|
|
// Defect detection feature
|
|
#if !defined(CYCLOPS_TRIAL) && (defined(CYCLOPS_DEFECT) || !defined(CYCLOPS_MODULE))
|
|
#define CYCLOPS_DEFECT_SPEC
|
|
#define CYCLOPS_DEFECT_DLLSPEC CYCLOPS_DLLSPEC
|
|
#else
|
|
#define CYCLOPS_DEFECT_DLLSPEC
|
|
#endif
|
|
|
|
// Lightweight leaning base classification(LLC) feature
|
|
#if !defined(CYCLOPS_TRIAL) && (defined(CYCLOPS_LLC) || !defined(CYCLOPS_MODULE))
|
|
#define CYCLOPS_LLC_SPEC
|
|
#define CYCLOPS_LLC_DLLSPEC CYCLOPS_DLLSPEC
|
|
#else
|
|
#define CYCLOPS_LLC_DLLSPEC
|
|
#endif
|
|
|
|
// Feature Flags ---end
|
|
|
|
#endif
|