How to Use Dart with Barcode RESTful Web Service

A few months ago, Google announced a new operating system named Fuchsia. It was my first time to hear about Dart, which is the primary programming language for Fuchsia. Dart is a programming language designed by Google.  It is used to build the web (Dart webdev), mobile (Flutter) and server (Dart VM) applications. In this article, I will share how to write my first Dart console application with Dynamsoft barcode RESTful web service.

Read more

Raspberry Pi Barcode Scanner in Python

Previously, I wrote an article Raspberry Pi Barcode Scanner with Webcam and Python illustrating how to build a simple barcode scanner using Dynamsoft Barcode Reader SDK and OpenCV from scratch. The method decodeFile() was used for detecting barcodes from an image file. To use the API, you have to firstly write image buffer that obtained by OpenCV API to a file. Because the I/O operation takes too much time, this API is not good for real-time barcode detection from webcam video stream. Considering this scenario, I have added a new Python API decodeBuffer(). In this article, I will illustrate how to create and use the new API.

Read more

Streaming Webcam Video with Dynamic .NET TWAIN

C# is the preferred programming language for developing Windows applications. However, Microsoft only provides .NET camera APIs for UWP applications. If you plan to write a classic Windows desktop application using a webcam, it will be complicated to create a C/C++ wrapper for DirectShow Win32 APIs. Dynamic .NET TWAIN is an SDK that supports programming for both scanner and webcam. In this article, you will see how easy to build a webcam application with the SDK. In addition, you can learn how to detect and recognize barcodes from the video stream with Dynamsoft Barcode Reader SDK.

Read more

How to Convert OpenCV Image Data from Python to C

OpenCV officially provides both C++ and Python APIs for developers. Most of the time, developers just need to use one kind of programming languages to read, write and process images with hundreds of computer vision algorithms. However, if you want to use OpenCV Python APIs with an extended C/C++ library, it will be tricky to pass the data. In this article, I will share how to read camera stream with OpenCV-Python and detect barcode with Dynamsoft C/C++ Barcode SDK.

Read more

Android Barcode Scanner with Dynamsoft Mobile Barcode SDK

Dynamsoft aims to make barcode SDK available for all mainstream platforms, including Windows, Linux, macOS, iOS, and Android. There are many developers devoted to developing mobile barcode scanner app for iOS and Android platforms. To expedite the developing work, some of them may rely on a powerful detection and recognition libraries, like Dynamsoft mobile barcode SDK. In this post, let’s take a glimpse of how to use barcode SDK for Android to build Android barcode scanner with a few lines of code.

Read more

Raspberry Pi Barcode Scanner with GPIO

Previously, I shared two articles demonstrating how to build a Raspberry Pi barcode scanner in C/C++ with Dynamsoft Barcode Reader SDK, and how to optimize the code with thread. The hardware I used only includes Raspberry Pi 2 and Webcam. Now it is time to have fun with GPIO (General-purpose input/output). Assume you want to get rid of the display screen for making a robot with power bank, wheel, and webcam. And you need to use some indicators to monitor the status of barcode recognition. How to make it with GPIO pins and other peripherals?

Read more