Extract features from image
const job = await client.vision.extract(['TextDetection', 'AssetTagDetection', 'PeopleDetection'], [{ fileId: 1234 }]);
Retrieve extract job
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 });
Extract features from image
const job = await client.vision.extract(['TextDetection', 'AssetTagDetection', 'PeopleDetection'], [{ fileId: 1234 }]);