Can I use ML Kit in ionic project? - barcode

The case is that, I want my app to extract barcode data from the provided input image. My project is based on Ionic 3 framework and angular. I was searching for a plugin of MLKit for my project, but didn't get any. Can anyone suggest me some plugins or some other way so that I can work with my input image?
P.S.: I do not want the usual scan of barcode, the use-case will be I will provide an image and the app should read the PDF417 format barcode data.
Thanks!

Related

Honeywell EDA51 - Scan barcode from Xamarin Forms app

I am working on Xamarin Forms app that should be deployed on Honeywell EDA51.
I never used something like this (honeywell eda51) and not really sure how to scan barcode with it.
Do I need some extra Nuget packages or something else to install?
Want to have two ways
On certain page, when you scan barcode it should be written in text field (First some preprocessing) and second functionality should be after click on certain button you should scan multiple barcodes and store them in list.
If I knew how to register scanner input and use it in app I think that I would be able to do both things
Honeywell provides some SDKs for Xamarin.
You can go to https://hsmftp.honeywell.com/en and find them in the Software -> Software and Tools -> Developer Library -> SDKs for Xamarin.
You may want to try the Honeywell-Xamarin-Scanning-SDK-v1.35.00.0044.zip package. It contains a short documentation and a NuGet package.
However, you need to register and use the Honeywell Dowlnoad Manager (can be found on the same place) to download the package.
Honeywell Download page

How to convert tensorflow-lite model to coreml .mlmodel

I am currently using google firebase integrated with my ios app. I am using MLKit in my app with a local TensorFlow lite model as an image classifier.
But having Xcode 9, I am unable to do this with my app as autoMLVision is new and requires xcode 10.1. Now I think the best thing to do is to convert the TensorFlow lite model, I trained in google firebase and downloaded, to a .mlmodel and use Core ML for image classification.
How would I go about doing this conversion. If you have an alternate way of solving this version problem, please share. Tell me if you need more information.
As far as I know, you cannot currently convert a TFLite model directly to Core ML. You can only convert frozen .pb models using tfcoreml.
One option might be to convert the TFLite model back to a frozen .pb model (not sure if there are conversion tools that let you do this).
Another option is to do the conversion by hand, using coremltools' NeuralNetworkBuilder. You will need to read the TFLite file, extract the weights, potentially transpose them into the order that Core ML expects, and then build the Core ML version of the model using NeuralNetworkBuilder.

Video functionality in Liferay 7

I need to add video functionality to CKeditor. Thus, enabled Xuggler plugin. However, it has some limitations. Thus, searched about other plugins which can be integrated with CKeditor and supports video content.
Following are the findings for above: -
I found online ckeditor builder which gives video functionality (CKEditor 4). Please help in integrating the same with Liferay 7.
https://ckeditor.com/cke4/builder.
I got another plugin html5video; https://ckeditor.com/cke4/addon/html5video
Please help in integrating the plugin with CKEditor available with Liferay 7.
Thus, requesting you to help in accomplishing either of the above solution in order to achieve video functionality in Liferay 7 webcontent.
Have a look at the lfr-dxp-src/modules/apps/foundation/frontend-editor/frontend-editor-ckeditor-web module. It contains all the CKeditor related code.
Froma quick look over it it seems that you should focus on 2 things:
Get the plugin code.
You would need a fragment bundle for that that will inject the necessary JS into the frontend-editor-ckeditor-web.
Look here for insperation: lfr-dxp-src/modules/apps/foundation/frontend-editor/frontend-editor-ckeditor-web/src/main/resources/META-INF/resources/_diffs/plugins/media
Probably you will need to change the configuration of the CKEditor
You need to create an edit options contributor. Make sure that you put this in a separate module form the fragment as the fragment.
Look here for inspiration: com.liferay.frontend.editor.ckeditor.web.editor.configuration.CKEditorConfigContributor

Cross Platform Blank App Xamarin Project

I'm trying to create an app using Visual Studio and Xamarin that will be cross platform. I've been trying to follow a tutorial I found online to do this.
When the guy in the video went to create a new project, he had the below screen, and created a Blank App (Xamarin.Forms Portable
I've installed the necessary components (Xamarin, WPF and a couple of others) with the IDE, however I don't see this option.
I've created a project using Mobile App (Xamarin.Forms) but it doesn't have the same structure as the desired template. Am I missing a component? Is the template called something different now?
The video is almost two years old, which means that some parts look different today.
If you click on the create a new xamarin.forms app, you will come to a new step where you can choose a blank app.
Then you have a choice, either choose shared projects or .net (portable).
The .net will give you a portable class library, like that in the video.
The two methods have different advantages.
Read more in the documentation: https://learn.microsoft.com/sv-se/xamarin/cross-platform/app-fundamentals/code-sharing
I hope the information will help you!

Download a zip file using xamarin forms app

I Am Newbie in Xamarin. Our Xamarin forms app supports Android and IOS. Most of the app functionality is written in PCL class library which is referred in the above platforms.
Now we need to download a zip file using this app. Some posts are suggesting to handle it in common PCL library and some are suggesting to handle it in respective native projects. I am bit confused, which is the better approach of the two. Are there any limitations in this approaches?
If possible could you please share a sample app. Thanks in advance.
You can write the code to download the file in PCL. For downloading file you can make use of HTTPClient. At the same time you have to call dependency service and write the dependent code in corresponding android/ios projects to specify the file output path.
https://developer.xamarin.com/recipes/ios/network/web_requests/download_a_file/ uses webClient which is written in android. You can use HTTPClient to get same result in PCL

Resources