Skip to main content

Character CAPTCHA

Sophie avatar
Written by Sophie
Updated over 2 weeks ago

Definition and Usage

This command identifies the text content in target CAPTCHA images. It uses AI technology to recognize and extract text from various types of CAPTCHA challenges, enabling automated handling of CAPTCHA verification in workflows.


Parameter Values

Input parameters

Parameter

Description

Possible Values

Required

Options / Notes

AI engine

Please select the CAPTCHA engine you need to use.

Octoparse AI

Yes

Platform credits: $5. Cost per execution: $0.0015

CAPTCHA type

Please select the CAPTCHA type that needs to be recognized

Mixed numbers & letters; Numbers only; English letters only; Animated GIF; Math calculation; Question & answer; Chinese characters

Yes

Select the appropriate type for optimal recognition

Image source

Please select the source of the CAPTCHA to be recognized.

Saved screenshot; UI element; Web element

Yes

Image path

Please enter the image file path of the CAPTCHA

Any valid file path

Conditional

Required when Image source is "Saved screenshot"

Element

Select or capture an element to operate on

UI element selector

Conditional

Required when Image source is "UI element"

Web page

Select a variable that contains the web page to work with

Web page variable

Conditional

Required when Image source is "Web element"

Element

Select or capture an element to operate on

Web element selector

Conditional

Required when Image source is "Web element"

Store result into

Store the result in a new variable

Variable name

Yes

The variable will contain the recognized text

Advanced settings

Parameter

Description

Possible Values

Required

Options / Notes

Element timeout (s)

Wait time for element to appear (seconds)

Numeric value

No

Default: 20 seconds

Error handling

Parameter Name

Description

Throw error & stop

When an error occurs, the action will trigger an error and stop the execution of the entire app.

Retry command

If an error occurs, the action will retry the command in an attempt to resolve the issue and continue the process.

Ignore error & continue

When an error occurs, the action will be ignored, and the workflow will continue without interruption.

Variables produced

This command produces a variable that contains the recognized text from the CAPTCHA image.


Using Variables in Conditions

When you see {x} or a variable icon in the interface, it indicates that you can insert previously created variables in that parameter. This is particularly useful when you want to dynamically specify file paths or element selectors based on runtime values. Ensure that the variable type matches the expected parameter type for proper execution.


Notes

  • The accuracy of CAPTCHA recognition depends on the complexity and clarity of the image.

  • This command requires credits for each execution, with a cost of $0.0015 per CAPTCHA recognition.

  • For animated GIFs, the system will analyze multiple frames to improve recognition accuracy.

  • When dealing with math calculations or question-answer CAPTCHAs, the system will extract the text but will not solve the problem.

  • Ensure that the CAPTCHA image is clear and properly captured for the best results.

  • Chinese character recognition may have lower accuracy compared to alphanumeric recognition.

Did this answer your question?