Skip to content

Instantly share code, notes, and snippets.

@nikhilm
Created December 24, 2022 10:15
Show Gist options
  • Save nikhilm/9faefcb2dd5e2399557ea69706d148af to your computer and use it in GitHub Desktop.
Save nikhilm/9faefcb2dd5e2399557ea69706d148af to your computer and use it in GitHub Desktop.
quagga settings
{
inputStream: {
name: "Live",
type: "LiveStream",
constraints: {
width: {min:640},
height: {min:480},
facingMode: "environment",
aspectRatio: {min:1,max:2},
},
target: document.querySelector("#stream-view"),
},
frequency: 2,
decoder: {
readers: ['ean_reader'],
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment