Options
All
  • Public
  • Public/Protected
  • All
Menu

Class VisionAPI

Hierarchy

Index

Methods

extract

getExtractJob

  • const { items } = await client.vision.getExtractJob(12345678, true); // get an existing job, wait for it to complete, and get the results
    items.forEach((item) => {
     const predictions = item.predictions // do something with the predictions
    });
    

    Parameters

    • jobId: JobId
    • Default value waitForCompletion: boolean = true
    • Default value pollingTimeMs: number = 1000
    • Default value maxRetries: number = 600

    Returns Promise<VisionExtractGetResponse>