Skip to main content
April 7, 2021
Question

Image recognition

  • April 7, 2021
  • 9 replies
  • 0 views

I am performing image recognition which is provided by RPA learning path, but in that it is not showing me result of image addition i.e 13.

For reference[View:/cfs-file/__key/communityserver-discussions-components-files/61/21.1-RPA-Tutorial-_5F00_-ImageRecognition-Low-Code_2D00_-105_2D00_2.pdf:320:240]

    9 replies

    danny.verb
    April 7, 2021

    To help, you'll need to provide some more details. What step are you stuck on and what are you expecting?

    April 8, 2021

    It is regarding image recognition I store image of 8,+,5,= so as per pdf it should be excused in calculator and answer would be 13 but it is not executing and that why I am not able to complete this lesson

    gavinh
    August 11, 2021

    I'm having a similar issue, I've really been struggling to get the RPA process to recognise the buttons based on the support images. I've tried changing the pixel precision and sometimes it recognises 8 and 5 but then uses the divide button instead of the add button. I've tried zooming in when creating the support images as well as including a reasonable border around them but nothing seems to work consistently

    November 22, 2023

    You have to take the screenshot clearly then only bot will reconize the image correctly

    November 23, 2023

    Hi [mention:573ecd0fba2b43a1995d6b9f2c4698ef:e9ed411860ed4f2ba0265705b8793d05] 

    1. Variable Setup:

      • Create a variable named "calculator result."
    2. Open Calculator Application:

      • In the "Open Application" activity:
        • Set the executable name to "calc.exe."
        • Use "Find by Window Title" and set the expected window title to "Calculator."
    3. Create a Support Image:

      • Manually open the calculator in the Appian RPA agent.
      • From the Appian RPA agent menu in the taskbar, select "Create Support Image."
    4. Support Image Marking:

      • Mark the new image for the number 8, save the image, rename it, and click "Save Image."
      • Repeat this process for the "+" icon, saving images accordingly.
      • Similarly, save images for values you know, like 5 and "=".
    5. Configure Windows:

      • For the "Eight" configuration window:

        • Select "Full Screen" in the search section.
        • Set the max wait time to 2 seconds.
        • Choose "Exact Match" for pixel and color tolerance.
        • Enable mouse actions.
        • For the location image, select "Throw Exception if Not Found."
        • After completion, set "Wait Before Executing Next Actions" to 4 seconds.
      • For the "Plus" configuration window:

        • Set "Don't Wait" for wait time.
        • Choose "Exact Match" for pixel and color tolerance.
        • Enable mouse actions.
        • For the location image, select "Throw Exception if Not Found."
      • Repeat the same configuration process for the "Five" value.

    6. Keyboard Shortcuts:

      • Use the "Press Keyboard Shortcuts" activity.
        • Change the display name to "Copy the Result."
        • In modifier keys, select "Ctrl."
        • In additional keys, select "Characters" and provide "c."
        • In interaction, select "Press and Release Keys."
    7. Get Clipboard Value:

      • Use the "Get Clipboard Value" activity.
        • In the configuration output section:
          • Select "Is Stored As" in the dropdown.
          • In the target, provide the variable created, i.e., "calculator result."
          • After completion, select the "Take a screenshot" option.

    Follow these steps carefully, and you should obtain the correct result.
    Follow these screenshots for a better understanding.