File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<?php
22
3- use Mindee\ClientV2 ;
3+ use Mindee\V2\Client ;
44use Mindee\V2\Product\Classification\Params\ClassificationParameters;
55use Mindee\V2\Product\Classification\ClassificationResponse;
66use Mindee\Input\PathInput;
@@ -10,7 +10,7 @@ $filePath = "/path/to/the/file.ext";
1010$modelId = "MY_MODEL_ID";
1111
1212// Init a new client
13- $mindeeClient = new ClientV2 ($apiKey);
13+ $mindeeClient = new Client ($apiKey);
1414
1515// Set classification parameters
1616// Note: modelId is mandatory.
Original file line number Diff line number Diff line change 11<?php
22
3- use Mindee\ClientV2 ;
3+ use Mindee\V2\Client ;
44use Mindee\V2\Product\Crop\Params\CropParameters;
55use Mindee\V2\Product\Crop\CropResponse;
66use Mindee\Input\PathInput;
@@ -10,7 +10,7 @@ $filePath = "/path/to/the/file.ext";
1010$modelId = "MY_MODEL_ID";
1111
1212// Init a new client
13- $mindeeClient = new ClientV2 ($apiKey);
13+ $mindeeClient = new Client ($apiKey);
1414
1515// Set crop parameters
1616// Note: modelId is mandatory.
Original file line number Diff line number Diff line change 11<?php
22
3- use Mindee\ClientV2 ;
3+ use Mindee\V2\Client ;
44use Mindee\Input\InferenceParameters;
55use Mindee\Input\PathInput;
66use Mindee\Parsing\V2\InferenceResponse;
@@ -10,7 +10,7 @@ $filePath = "/path/to/the/file.ext";
1010$modelId = "MY_MODEL_ID";
1111
1212// Init a new client
13- $mindeeClient = new ClientV2 ($apiKey);
13+ $mindeeClient = new Client ($apiKey);
1414
1515// Set inference parameters
1616// Note: modelId is mandatory.
Original file line number Diff line number Diff line change 11<?php
22
3- use Mindee\ClientV2 ;
3+ use Mindee\V2\Client ;
44use Mindee\Input\InferenceParameters;
55use Mindee\Input\PathInput;
66
@@ -9,7 +9,7 @@ $filePath = "/path/to/the/file.ext";
99$modelId = "MY_MODEL_ID";
1010
1111// Init a new client
12- $mindeeClient = new ClientV2 ($apiKey);
12+ $mindeeClient = new Client ($apiKey);
1313
1414// Set inference parameters
1515// Note: modelId is mandatory.
Original file line number Diff line number Diff line change 11<?php
22
3- use Mindee\ClientV2 ;
3+ use Mindee\V2\Client ;
44use Mindee\V2\Product\Ocr\Params\OcrParameters;
55use Mindee\V2\Product\Ocr\OcrResponse;
66use Mindee\Input\PathInput;
@@ -10,7 +10,7 @@ $filePath = "/path/to/the/file.ext";
1010$modelId = "MY_MODEL_ID";
1111
1212// Init a new client
13- $mindeeClient = new ClientV2 ($apiKey);
13+ $mindeeClient = new Client ($apiKey);
1414
1515// Set ocr parameters
1616// Note: modelId is mandatory.
Original file line number Diff line number Diff line change 11<?php
22
3- use Mindee\ClientV2 ;
3+ use Mindee\V2\Client ;
44use Mindee\V2\Product\Split\Params\SplitParameters;
55use Mindee\V2\Product\Split\SplitResponse;
66use Mindee\Input\PathInput;
@@ -10,7 +10,7 @@ $filePath = "/path/to/the/file.ext";
1010$modelId = "MY_MODEL_ID";
1111
1212// Init a new client
13- $mindeeClient = new ClientV2 ($apiKey);
13+ $mindeeClient = new Client ($apiKey);
1414
1515// Set split parameters
1616// Note: modelId is mandatory.
You can’t perform that action at this time.
0 commit comments