Tesseract Issue

#1

I am using Tesseract to recongize text. however it doesn’t work because the .set and .complete methods in the ngProgress. I’m assuming its because of ionic 4 but is there any way to fix this

Tesseract.recognize(this.selectedImage)
.progress(result => {
if (result.status === ‘recognizing text’)
//this.progress.set(result.progress)
console.log(result);
})
.catch(err => console.error(err))
.then(result => {
this.imageText = result.text;
})
.finally(resultOrError=>{
//this.progress.complete();
})