Phonegap-plugin-barcodescanner: Win10 implementation more than 15 times slower than WP8 target on Lumia 950xl

Created on 12 Feb 2016  路  10Comments  路  Source: phonegap/phonegap-plugin-barcodescanner

Measured only landscape scans for win10 - it is not possible to scan in portrait. (rotation doesn't work)

Scanning from the same position repeatedly for 30 scans.
WP8 compiled target locks and decodes barcode in milliseconds.

Possibly implement WP8 DLL style for WIN10 - not as it is now in WinJS?

enhancement windows10 performance

Most helpful comment

Not yet, need to finish the app first without QR code scanner for Win and will then work on the plugin. A raw version is working already. Much better than what is here.
Basically it inserts a GPU filter into the live video stream an performs the zxing decoding on every frame until it detects a code. Written in C++ it does not drag in the huge C# runtime into Cordova projects. You almost don't see any increase in memory consumption (except for the size of the currently analyzed video stream frames).

All 10 comments

Don't know if it is easy to get the WinRT project targeted to Win10, but I guess that's possible. Then you only need to exclude this block on JS side.

The whole Windows 8/10 implementation used in this plugin is unusable, imho. I am working on an improved version, with fast live preview and no C# dependency. Will open a PR once its done.

Sounds great :+1: good job!

Any news on this @pke ? Would be great!

Not yet, need to finish the app first without QR code scanner for Win and will then work on the plugin. A raw version is working already. Much better than what is here.
Basically it inserts a GPU filter into the live video stream an performs the zxing decoding on every frame until it detects a code. Written in C++ it does not drag in the huge C# runtime into Cordova projects. You almost don't see any increase in memory consumption (except for the size of the currently analyzed video stream frames).

@pke, is there any news on C++ plugin implementation?

@pke Will you still work on this? If not could you please put your first raw version to a repo?

@pke HI! you still working on this ?

Nope

@pke Could you tell which version works for windows 10 universal app ? I tried 6.0.6 and I get JavaScript runtime error: NotFoundError when I try to use the plugin. Which version you test and is stable ? Thanks !

Was this page helpful?
0 / 5 - 0 ratings

Related issues

front-stream picture front-stream  路  7Comments

mlaponder picture mlaponder  路  5Comments

brunovinny picture brunovinny  路  6Comments

vespino picture vespino  路  9Comments

thomas-tran picture thomas-tran  路  9Comments