mirror of
https://github.com/ColonelParrot/jscanify.git
synced 2025-12-30 22:31:52 +00:00
Use data url, remove log
This commit is contained in:
parent
36b89752e2
commit
dc3af0c129
@ -24,8 +24,7 @@ const scanner = new jscanify()
|
||||
$('#demo-images .image-container').click(function () {
|
||||
$('.image-container.selected').removeClass('selected')
|
||||
$(this).addClass('selected')
|
||||
const imageSrc = $(this).find('img')[0].src
|
||||
console.log(imageSrc)
|
||||
const imageSrc = $(this).find('img').data('url')
|
||||
loadOpenCV(function () {
|
||||
$('#demo-result').empty()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user