How to modify barcode scanner options and customise scanner window?

Has anyone succeeded in modifying the barcode scanner config options? e.g. adjust the scanning viewport from the configured default of
{ fps: 10, qrbox: 250 },
to something like:
{ fps: 10, qrbox: { height: 250, width: 100} },

Other goals are to reduce the barcode types, e.g. to just “code-128”

And enhance the scanner window dialog by, e.g. adding outline to the found barcode, etc.

Has anyone done any of the above?

@wayne_sierke You can change the fps and qrbox by creating a custom plugin that has a js file that extend the Scanner js.
But for the dialog, I don’t know how to do it.