mindee
Version:
Mindee Client Library for Node.js
13 lines (12 loc) • 439 B
JavaScript
import { BaseInference } from "../../../v2/parsing/inference/baseInference.js";
import { CropResult } from "../../../v2/product/crop/cropResult.js";
export class CropInference extends BaseInference {
constructor(serverResponse) {
super(serverResponse);
this.result = new CropResult(serverResponse["result"]);
}
toString() {
return (super.toString() +
this.result.toString() + "\n");
}
}