Comparative Analysis of Zxing and HUAWEI Scan Kit - Huawei Developers

Recently, I've been developing an educational app, and decided to integrate HUAWEI Scan Kit. I had integrated Zxing before. It only has one integration method. By contrast, there are several different ways to integrate HUAWEI Scan Kit. Which one should I choose? I thought that I'd share my experience with both Zxing and HUAWEI Scan Kit, and compare them, in case you might find the differences helpful during your development.
If you have ever used Zxing before, you've likely noticed how simple it is to integrate. The Zxing SDK can be integrated with only a few lines of code. This is because Zxing does not provide a UI, and lacks certain auxiliary functions, such as Auto Zoom and Flashlight On/Off. If you need any of those features, you'll need to develop them on your own.
Then there's HUAWEI Scan Kit, which can be integrated in multiple modes: Default View, Customized View, MultiProcessor, etc. The Default View mode provides a default UI, and a series of auxiliary functions such as Auto Zoom and Flashlight On/Off. If you can't be bothered to develop these functions by yourselves, I would suggest selecting the Default View mode.
In Customized View mode, you can customize the UI. Scan Kit only provides basic functions, like barcode scanning and decoding, and applies a blank layout. More advanced functions, like Flashlight On/Off, would need to be developed on your own, so the integration tends to be more complex.
When Scan Kit is integrated in MultiProcessor mode, it is capable of scanning multiple barcodes at the same time. So you can use this integrate mode, if simultaneous scanning is a big priority for your app.
Here's an overview of some of the key differences:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
HUAWEI Scan Kit provides two types of packages: Lite and Pro. The size of a Lite package is 700 KB, while the Pro package is a much larger 3.3 MB. The two packages only differ slightly on non-Huawei phones, and thus, developers who don’t have stringent demands for package size and use non-Huawei phones can select the Pro version.
You can also find some more info on this webpage: HUAWEI Scan Kit Introduction
I’ve provided some examples of the results from integration with HUAWEI Scan Kit.
1.1 long-distance code scanning
1.2 Barcode scanning in challenging scenarios
Reflective
Smeared
1.3 Scanning of a tilted barcode
1.4 Simultaneous recognition of multiple barcodes

useful sharing, thanks

Related

HMS Core 5.0.2 Launch Announcement

More information like this, you can visit HUAWEI Developer Forum
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
ML Kit
Features:
Added the liveness detection service, which supports silent liveness detection and captures faces in real time. It can determine whether a face is of a real user without requiring the user to follow specific instructions.
Added the image super-resolution service, which removes the compression noise of images to obtain clearer images, with the resolution unchanged.
Added the document skew correction service, which automatically identifies the location of a document in an image and adjusts the shooting angle to the angle facing the document, even if the document is tilted.
Added the hand keypoint setection service, improved the speed and accuracy of bank card recognition, enhanced the translation service, optimized the text to speech service, and other features.
Link: https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides/version-changehistory-0000001050040023
Scene Kit
Features:
Added APIs for you to create apps which blend the virtual and the real, with features such as dynamic face stickers, 3D Qmojis, and virtual object placement.
Link: https://developer.huawei.com/consumer/en/hms/huawei-scenekit/
Push Kit
Features:
Added the messaging by user time zone, scenario, and geofence, improving user experience.*
*The functions involving user data must be implemented with users' authorization.
Link: https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides/automated-notifications-0000001051072150#EN-US_TOPIC_0000001051072150__section17240145319447
Analytics Kit
Features:
Supported integration of web apps with Analytics Kit to implement data collection and unified analysis.
Supported automatic collection from mobile phones and tablets as well as configuration of the app installation source.
Link: https://developer.huawei.com/consumer/en/hms/huawei-analyticskit
Updates of all HMS Core versions
Learn more: https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides-V5/hmssdk-kit-0000001050042513-V5
Scene Kit
Sample Code:
Added the ARView and FaceView development procedures.
Github: https://github.com/HMS-Core/hms-scene-demo
ML Kit
Sample Code:
Added a demo for the messaging by scenario.
Github: https://github.com/HMS-Core/hms-ml-demo
Push Kit
Sample Code:
Added a demo to illustrate how to integrate web apps with Analytics Kit.
Github: https://github.com/HMS-Core/hms-push-clientdemo-android
Analytics Kit
Sample Code:
Added a demo to illustrate how to integrate web apps with Analytics Kit.
Github: https://github.com/HMS-Core/hms-analytics-demo-javascript

Deliver Personalized Content to Your Users

As a developer, you’ll know that mobile data is more expensive than ever, and this makes it increasingly difficult to attract new users. Optimizing your apps’ user experience and improving user loyalty are crucial to retaining users, and to do this, you need to personalize your app’s content, appearance, and style for different users.
Fortunately, HUAWEI Analytics Kit and Remote Configuration make this easier than ever.
What Is HUAWEI Analytics Kit
HUAWEI Analytics Kit is a free data analysis tool that you can use across a range of platforms (Android/iOS/Web) and on different devices (such as mobile phones/tablets). It automatically generates more than 10 kinds of analysis reports based on your users’ behavior and event data, so you can get a better understanding of your users and take a data-driven approach to marketing.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What Is Remote Configuration
Remote Configuration enables you to personalize your app’s content and appearance for different users based on the user attributes and audience groups you create in HUAWEI Analytics Kit. This can be done without even requiring users to update the app.
Application Scenarios of HUAWEI Analytics Kit and Remote Configuration
Ø With HUAWEI Analytics Kit's retention analysis function, you can monitor the retention rate of your app version. If you find that the latest version is more effective at retaining users, you can target those who are still using older versions and prompt them to upgrade.
Ø If you find that users who love animations, historical dramas, and suspense dramas are the most active of your video app, you can customize the app style to cater to these users.
Ø You can customize the appearance and content of e-commerce apps based on the characteristics of individual users. For example, you could show a different version of your app to young people and middle-aged people.
Streamlined Integration Process
Once you’ve integrated Remote Configuration, it only takes 5 minutes to integrate HUAWEI Analytics Kit. You can then customize your app’s appearance, content, and style for different users.
For more details, you can visit:
Our official website
Our Development Documentation page, to find the documents you need:
Android SDK
iOS SDK
Web SDK
Quick APP SDK
We’re looking forward to seeing what you can achieve with HUAWEI Analytics!

[HMS Core 6.0 Launch] Build a 3D Model in No Time with 3D Modeling Kit

3D Modeling Kit, another service with graphics- and image-related technologies provided by Huawei. This AI-powered kit automatically generates 3D models and physically based rendering (PBR) texture maps, to satisfy the needs for efficient 3D model and animation creation.
Utilizing Huawei-developed algorithms, 3D Modeling Kit supports all Android devices with minimal hardware requirements. The kit can collect all details of an object for modeling, by combining mutual visibility information of images taken from different angles of the object and estimating the depth of field of the image. This process does not require any special devices such as RGB-D or light detection and ranging (LiDAR) sensors. Using just a mobile phone with a standard RGB camera, 3D Modeling Kit can generate a 3D model with 40,000 to 200,000 patches. Moreover, the kit cuts modeling costs and is more efficient than conventional manual modeling methods. Once the kit has been integrated, it supports data collection and upload, as well as model preview and download. 3D Modeling Kit can separate the object from its background, so it is able to generate models that have sharp and smooth edges with no background. It is undoubtedly an ideal option for creating product models, teaching, creating games and animations, and making short videos.
This kit uses an AI-powered tool to convert one or more RGB images into four PBR texture maps (diffuse, normal, specular, and roughness maps). These maps, supported by mainstream rendering engines, can bring a level of lifelike lighting and shading. Generally, a large amount of realistic textures are needed in the gaming and video industries. Now, with 3D Modeling Kit, developers can create desired textures in a highly intuitive way, rather than create them from scratch.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

[HMS Core 6.0 Global Release] All-New Programming Tool in HMS Toolkit Makes HMS Core Integration More Efficient

HMS Core 6.0, which was released globally on July 15, offers SmartCoder as part of HMS Toolkit, an intelligent programming assistant that's designed to make HMS Core integration seamlessly efficient, for developing innovative apps easier than ever.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
With SmartCoder, you'll be able to find official HMS Core resources (currently includes Account Kit, Ads Kit, Analytics Kit, IAP, and Push Kit) in Android Studio with incredible ease, without ever needing to switch between Android Studio and other interfaces – a document-free programming experience. This alone can boost development efficiency by more than 30%.
SmartCoder comes equipped with two functions: code auto-completion and smart search. Activating code auto-completion only requires you to enter hms in the editing area. The function enables you to complete coding quickly, thanks to the following advantages: completes single API or API call chains; provides floating windows to describe APIs in rich text, and quick documentation in pop-ups, listing code details as well as a short descriptions; allows you to edit auto-completed code snippets. Smart search provides instant access to a wealth of resources, including Kit (for kit-related documentation), Template (for integration steps), Snippet (for sample code snippets), and API (for official API references).
HMS Toolkit is an IDE plug-in that provides all the tools required for developing and releasing HMS Core-integrated apps in Android Studio. You can use it to create, code, convert, test, and release your apps, for a more productive and cost-effective development process.

AI Color from HMS Core Video Editor Kit Rejuvenates Old Photos

Since 1839 when Louis Daguerre invented the daguerreotype (the first publicly available photographic process), new inventions have continued to advance photography. Its spike reached a record high where people were able to record experiences through photos, anytime and anywhere. However, it is a shame that many early photos existed in only black and white.
HMS Core Video Editor Kit provides the AI color function that can liven up such photos, intelligently adding color to black-and-white images or videos to endow them with a more contemporary feel.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
In addition to AI color, the kit also provides other AI-empowered capabilities, such as allowing your users to copy a desired filter, track motions, change hair color, animate a picture, and mask faces.
In terms of input and output support, Video Editor Kit allows multiple images and videos to be imported, which can be flexibly arranged and trimmed, and allows videos of up to 4K and with a frame rate up to 60 fps to be exported.
Useful in Various Scenarios
Video Editor Kit is ideal for numerous application scenarios, to name a few:
Video editing: The kit helps accelerate video creation by providing functions such as video clipping/stitching and allowing special effects/music to be added.
Travel: The kit enables users to make vlogs on the go to share their memories with others.
Social media: Functions like video clipping/stitching, special effects, and filters are especially useful for social media app users, and are a great way for them to spice up videos.
E-commerce: Product videos with subtitles, special effects, and background music allow products to be displayed in a more intuitive and immersive way.
Flexible Integration Methods
Video Editor Kit can now be integrated via its:
UI SDK, which comes with a product-level UI for straightforward integration.
Fundamental capability SDK, which offers hundreds of APIs for fundamental capabilities, including the AI-empowered ones. The APIs can be integrated as needed.
Both of the SDKs serve as a one-stop toolkit for editing videos, providing functions including file import, editing, rendering, output, and material management. Integrating either of the SDKs allows you to access the kit's powerful capabilities.
These capabilities enable your users to restore early photos and record life experiences. Check out the official documentation for this great Video Editor Kit, to know more about how it can help you create a mobile life recorder.

Categories

Resources