CATA-SDK-EN
  1. Documentation
CATA-SDK-EN
  • Documentation
    • AI Recognition Precautions
    • Quick Start
    • SDK Error Code
    • AI Sequence Diagram
    • Screen Cropping
    • API Documentation (C language)
  • Activation
    • Activation Process
      • Step 1: Activate the device
      • Step 2: Download device configuration
      • Step 3: Download device model
    • Activate information import/export
      • Export activation data
      • Import activation data
    • View Device Activation Information
      GET
  • Common interfaces
    • Retrieve camera images
      GET
    • Retrieve status
      GET
    • retrieve logs
      GET
    • retrieve config
      GET
  • Recognition
    • Screen cropping
      • Screen cropping
      • Screen cropping config
    • Recognition
      GET
    • feedback
      POST
    • learning forgetting
      POST
    • clear learning data
      POST
    • save learning
      POST
  • learning export & import
    • export
      GET
    • import
      POST
  • camera
    • Obtain the installed camera
      GET
    • Set up the camera
      POST
  • goods
    • import product data
  • Product Image Matching
    • Download image
    • Match image
    • Edit image
  1. Documentation

Screen Cropping

Screen Cropping#

Crop the scale dial area to reduce interference with recognition.
image.png
First, Retrieve camera images and then crop based on the camera image resolution.
Assume the image resolution is (640,480).
The method to calculate the top-left corner coordinates is as follows:
x = 80 / 640
y = 60 / 480
(x, y) = (0.125, 0.125)
Use this interface, inputting four coordinates to perform Screen cropping.
Previous
AI Sequence Diagram
Next
API Documentation (C language)
Built with