Use data url, remove log

This commit is contained in:
ColonelParrot 2023-04-15 19:48:56 -04:00
parent 36b89752e2
commit dc3af0c129

View File

@ -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()