原創(chuàng)|產(chǎn)品更新|編輯:楊鵬連|2020-11-25 10:58:17.450|閱讀 286 次
概述:Dynamsoft Barcode Reader v8.0實(shí)現(xiàn)了使用參數(shù)模式枚舉時(shí)在運(yùn)行時(shí)動(dòng)態(tài)加載庫(kù)的機(jī)制,增加了對(duì)IntermediateResult解碼的支持,增加了對(duì)中間結(jié)果解碼的支持。
# 界面/圖表報(bào)表/文檔/IDE等千款熱門軟控件火熱銷售中 >>
Dynamsoft Barcode Reader SDK一款多功能的條碼讀取控件,只需要幾行代碼就可以將條碼讀取功能嵌入到Web或桌面應(yīng)用程序。這可以節(jié)省數(shù)月的開發(fā)時(shí)間和成本。能支持多種圖像文件格式以及從攝像機(jī)或掃描儀獲取的DIB格式。使用Dynamsoft Barcode Reader SDK,你可以創(chuàng)建強(qiáng)大且實(shí)用的條形碼掃描儀軟件,以滿足你的業(yè)務(wù)需求。
點(diǎn)擊下載Dynamsoft Barcode Reader最新版
我們很高興發(fā)布Dynamsoft Barcode Reader v8.0,這是一個(gè)主要版本,具有一系列新功能和改進(jìn)。該SDK現(xiàn)在可用于Windows,Linux,Android和iOS開發(fā),并且即將推出其他版本。我們希望新版本可以為開發(fā)人員帶來更多的靈活性,效率和生產(chǎn)力。
Highlights
為Windows和Linux實(shí)現(xiàn)了在運(yùn)行時(shí)動(dòng)態(tài)加載算法庫(kù)的機(jī)制。
#ifndef Linux reader->SetModeArgument("binarizationModes", 0, "LibraryFileName", ".dll", errorMessage, 256); #else reader->SetModeArgument("binarizationModes", 0, "LibraryFileName", " ", errorMessage, 256); #endif增加了對(duì)中間結(jié)果解碼的支持。具有二進(jìn)制圖像的用戶可以使用此功能跳過某些圖像預(yù)處理步驟。
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);實(shí)施了新的許可跟蹤機(jī)制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.
本站文章除注明轉(zhuǎn)載外,均為本站原創(chuàng)或翻譯。歡迎任何形式的轉(zhuǎn)載,但請(qǐng)務(wù)必注明出處、不得修改原文相關(guān)鏈接,如果存在內(nèi)容上的異議請(qǐng)郵件反饋至chenjj@fc6vip.cn
文章轉(zhuǎn)載自: