OCR Not Working for assignment

Hi

I my OCR BoT is not running, every time it says image missing. I am not able to complete the Power user certification. I am attaching the log for quick ref.

ocr-task.log (1.9 MB)

please detail out which version using and share your task for testing and ocr not working 2.2,2.1

Hi Here are the details:
Version Details

Version 2.4.0
WorkFusion Intelligent Automation Cloud Enterprise

Below is the BoT task I tried to run:
import com.workfusion.studio.rpa.recorder.api.*
import com.workfusion.studio.rpa.recorder.api.types.*
import com.workfusion.studio.rpa.recorder.api.custom.*
import com.workfusion.studio.rpa.recorder.api.internal.representation.*

import com.workfusion.bot.exception.*

        def pageload = RBoolean.fromCanonical('false')
        
    
        def path = RString.of('file:///C:/Users/chalisga/Desktop/RPA%20Assignment/Cards/Card1.png')
        
    
        def city = RString.of('')
        
    
        def companyname = RString.of('')
        
    
        def email = RString.of('')
        
    
        def ocr = RBoolean.fromCanonical('false')

com.workfusion.rpa.helpers.RPA.metaClass.static.$ = { Closure c -> c.call() } // Support for Expression action. Should be implemented in RPA class in next release.

timeouts().pageLoadTimeout(10000, java.util.concurrent.TimeUnit.MILLISECONDS)

openChrome(UrlOperations.ensureProtocol("${path}"))

window().maximize()

// Group of actions: Template1 “Plotmaps”

if ((ocr) == (RBoolean.fromCanonical(‘false’))) {

def i1 = System.currentTimeMillis() + 500

boolean i0 = true

while (i0) {
    try {
        $(byImage("1580038615293-anchor.apng")).getCoordinates()
        pageload = RBoolean.TRUE
        break
    } catch (Exception ignored) {
        pageload = RBoolean.FALSE
    }
    i0 = System.currentTimeMillis() < i1 
} 

if ((pageload) == (RBoolean.fromCanonical(‘true’))) {

// companyname = RString.of(“Plotmaps”)

org.openqa.selenium.Rectangle i2 = $(byImage("1583472662837-anchor-1583472662888.apng")).getRect()
     companyname = RString.of(Ocr.proccessImage(sysOcrApiUrl.toString(), "English",  i2.x + 7, i2.y + 5, 172, 47))


org.openqa.selenium.Rectangle i3 = $(byImage("1583473672448-anchor-1583473672557.apng")).getRect()
     email = RString.of(Ocr.proccessImage(sysOcrApiUrl.toString(), "English",  i3.x + 15, i3.y + 13, 469, 63))


org.openqa.selenium.Rectangle i4 = $(byImage("1583473765042-anchor-1583473765083.apng")).getRect()
     city = RString.of(Ocr.proccessImage(sysOcrApiUrl.toString(), "English",  i4.x + 330, i4.y + 68, 138, 48))



    ocr = RBoolean.fromCanonical("true")

} else {

}

} else {

}

// Group of actions: Template2 “Workfusion”

if ((ocr) == (RBoolean.fromCanonical(‘false’))) {

def i6 = System.currentTimeMillis() + 10000

boolean i5 = true

while (i5) {
    try {
        $(byImage("1580038702327-anchor.apng")).getCoordinates()
        pageload = RBoolean.TRUE
        break
    } catch (Exception ignored) {
        pageload = RBoolean.FALSE
    }
    i5 = System.currentTimeMillis() < i6 
} 

if ((pageload) == (RBoolean.fromCanonical(‘true’))) {

    companyname = RString.of("Workfusion")


org.openqa.selenium.Rectangle i7 = $(byImage("1583472824713-anchor-1583472824770.apng")).getRect()
     companyname = RString.of(Ocr.proccessImage(sysOcrApiUrl.toString(), "English",  i7.x + 5, i7.y + 3, 230, 53))


org.openqa.selenium.Rectangle i8 = $(byImage("1580106386858-anchor-1580106386969.apng")).getRect()
     email = RString.of(Ocr.proccessImage(sysOcrApiUrl.toString(), "English",  i8.x + 27, i8.y + 50, 450, 70))


org.openqa.selenium.Rectangle i9 = $(byImage("1580106488357-anchor-1580106488427.apng")).getRect()
     city = RString.of(Ocr.proccessImage(sysOcrApiUrl.toString(), "English",  i9.x + 315, i9.y + 40, 205, 70))



    ocr = RBoolean.fromCanonical("true")

} else {

}

} else {

}