Building .NET Barcode Reader with OpenCV and DBR 5.2

OpenCV is written in C++.  If you install OpenCV library on Windows, you will see OpenCV officially provides wrappers for Python and Java but not for C#. Fortunately, there are many .NET open source projects for wrapping OpenCV C++ APIs, and thus we don’t need to write a wrapper from scratch. In this post, I will share how to use OpenCV library and Dynamsoft Barcode Reader SDK to create a .NET barcode reader app on Windows.

Read more

Using Dynamic Web TWAIN with RequireJS

RequireJS is a JavaScript file and module loader that implements Asynchronous Module Definition(AMD) API for in-browser use. Similar to require() used in Node.js, we can use requirejs() to load any JavaScript module for web apps. In this post, I will share how to use Dynamic Web TWAIN with RequireJS. If you are developing web document scanning apps with Dynamic Web TWAIN, this post may benefit you.

Read more

Building JavaScript and WebAssembly ZXing on Windows

If you are looking for a barcode SDK for web development, the ideal outcome is to find a pure JavaScript SDK. The pure JavaScript SDK means JavaScript APIs do not rely on any server-side code. However, most of the barcode SDKs are written in C/C++ and Java. They do not have corresponding JavaScript editions. Meanwhile, JavaScript performance is also the bottleneck. Nowadays, with the advent of WebAssembly, all this will change. WebAssembly runs alongside JavaScript, providing with near-native performance in modern web browsers. In this post, let’s see how to build JavaScript and WebAssembly ZXing – the most popular open source barcode SDK – for developing web barcode apps on Windows.

Read more

Moving Chocolatey Packages with PowerShell

Last week, I built a package for Dynamsoft Barcode Reader using Chocolatey. One thing disappointed me that I can’t specify the installation directory if I don’t have a licensed Chocolatey edition. It means all packages will be installed to C:\ProgramData\chocolatey\lib. I do worry about my C drive storage spaces. Therefore, I decided to use PowerShell script moving Chocolatey packages. Although I’ve been a Windows user for many years, I never touched PowerShell before. What I’m going to do is to use PowerShell to move the package to a new location, remove the old package and register the destination directory to the environment path.

Read more