write the result of Padlleocr to a variable

Ask gaming related questions (AHK v1.1 and older)
aleksbor
Posts: 5
Joined: 27 May 2023, 06:12

write the result of Padlleocr to a variable

30 Apr 2024, 12:02

Hello,

I couldn’t write the result of

Code: Select all

MsgBox, % PaddleOCR([716, 821, 200, 100])
into a variable, please tell me how to do this

Thank you :crazy:
User avatar
boiler
Posts: 17146
Joined: 21 Dec 2014, 02:44

Re: write the result of Padlleocr to a variable

30 Apr 2024, 21:17

Code: Select all

Var := PaddleOCR([716, 821, 200, 100])
aleksbor
Posts: 5
Joined: 27 May 2023, 06:12

Re: write the result of Padlleocr to a variable

01 May 2024, 09:29

Hello,

MsgBox, % PaddleOCR([716, 821, 200, 100]) show 3155775

test := PaddleOCR([716, 821, 200, 100])
MsgBox, test show test

do not understand why
what needs to be done to get the correct result

Thank you :bravo:
aleksbor
Posts: 5
Joined: 27 May 2023, 06:12

Re: write the result of Padlleocr to a variable

01 May 2024, 09:35

thanks, figured it out myself

test := PaddleOCR([716, 821, 200, 100])

MsgBox, %test%

#Include PaddleOCR\PaddleOCR.ahk
User avatar
boiler
Posts: 17146
Joined: 21 Dec 2014, 02:44

Re: write the result of Padlleocr to a variable

01 May 2024, 09:40

Or all in one line:

Code: Select all

#Include PaddleOCR\PaddleOCR.ahk
MsgBox, % Var := PaddleOCR([716, 821, 200, 100])

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 42 guests