原創|產品更新|編輯:楊鵬連|2020-11-25 10:58:17.450|閱讀 286 次
概述:Dynamsoft Barcode Reader v8.0實現了使用參數模式枚舉時在運行時動態加載庫的機制,增加了對IntermediateResult解碼的支持,增加了對中間結果解碼的支持。
# 界面/圖表報表/文檔/IDE等千款熱門軟控件火熱銷售中 >>
Dynamsoft Barcode Reader SDK一款多功能的條碼讀取控件,只需要幾行代碼就可以將條碼讀取功能嵌入到Web或桌面應用程序。這可以節省數月的開發時間和成本。能支持多種圖像文件格式以及從攝像機或掃描儀獲取的DIB格式。使用Dynamsoft Barcode Reader SDK,你可以創建強大且實用的條形碼掃描儀軟件,以滿足你的業務需求。
點擊下載Dynamsoft Barcode Reader最新版
我們很高興發布Dynamsoft Barcode Reader v8.0,這是一個主要版本,具有一系列新功能和改進。該SDK現在可用于Windows,Linux,Android和iOS開發,并且即將推出其他版本。我們希望新版本可以為開發人員帶來更多的靈活性,效率和生產力。
Highlights
為Windows和Linux實現了在運行時動態加載算法庫的機制。
#ifndef Linux reader->SetModeArgument("binarizationModes", 0, "LibraryFileName", ".dll", errorMessage, 256); #else reader->SetModeArgument("binarizationModes", 0, "LibraryFileName", " ", errorMessage, 256); #endif增加了對中間結果解碼的支持。具有二進制圖像的用戶可以使用此功能跳過某些圖像預處理步驟。
IntermediateResult* input = NULL; reader->InitIntermediateResult(IRT_ORIGINAL_IMAGE, input); input->resultsCount = 1; input->results = (void**)malloc(sizeof(ImageData*)); ImageData * temp = (ImageData*)malloc(sizeof(ImageData)); int len = iHeight*iStride; temp->bytes = (unsigned char *)malloc(sizeof(unsigned char) * len); memcpy(temp->bytes, binary_image, len); reader->DecodeIntermediateResults(input, ""); reader->GetAllTextResults(&pResults);實施了新的許可跟蹤機制License 2.0,使用戶可以更輕松地跟蹤許可使用情況。
DM_LTSConnectionParameters ltspar; reader.InitLTSConnectionParameters(&ltspar); ltspar.handshakeCode =“"; iRet = reader.InitLicenseFromLTS(<spar,szErrorMsg,256);Added a new format control parameter, BarcodeZoneMinDistanceToImageBorders, to set the minimum distance (in pixels) between the barcode zone and image borders.
reader->InitRuntimeSettingsWithString("{\n\"ImageParameter\": {\n\"FormatSpecificationNameArray\": [ \"IP1\" ],\n\"Name\": \"Test\"\n},\n\"FormatSpecification\": {\n\"Name\": \"IP1\",\n\"BarcodeZoneMinDistanceToImageBorders\": 4\n},\n\"Version\": \"3.0\"\n}\n", CM_OVERWRITE, errorMessage, 256);Added a new format control parameter, MinRatioOfBarcodeZoneWidthToHeight, to set the minimum ratio (width/height) of the barcode zone.
reader->InitRuntimeSettingsWithString("{\n\"ImageParameter\": {\n\"FormatSpecificationNameArray\": [ \"IP1\" ],\n\"Name\": \"Test\"\n},\n\"FormatSpecification\": {\n\"Name\": \"IP1\",\n\"MinRatioOfBarcodeZoneWidthToHeight\": 100\n},\n\"Version\": \"3.0\"\n}\n", CM_OVERWRITE, errorMessage, 256);Added a new format control parameter, BarcodeZoneBarCountRangeArray, to set the barcode zone’s range of bar count for barcode search.
reader->InitRuntimeSettingsWithString("{\n\"ImageParameter\": {\n\"FormatSpecificationNameArray\": [ \"IP1\" ],\n\"Name\": \"Test\"\n},\n\"FormatSpecification\": {\n\"Name\": \"IP1\",\n\"BarcodeZoneBarCountRangeArray\": [{\"MaxValue\": 50, \"MinValue\":14},{\"MaxValue\": 12, \"MinValue\":1}]\n},\n\"Version\": \"3.0\"\n}\n", CM_OVERWRITE, errorMessage, 256);Added a new parameter, DeblurModes, so users can use different deblur algorithms for different scenarios. DeblurModes has the following enum types: DirectBinarization, ThresholdBinarization, GrayEqulization, Smoothing, and Morphing.
Improved the localization speed for the ScanDirectly mode.
Improved the localization accuracy for DataMatrix code with a narrow quiet zone.
You can get the C/C++ and C# sample code to learn Dynamsoft Barcode Reader 8.0 API usage.
本站文章除注明轉載外,均為本站原創或翻譯。歡迎任何形式的轉載,但請務必注明出處、不得修改原文相關鏈接,如果存在內容上的異議請郵件反饋至chenjj@fc6vip.cn
文章轉載自: