@pipcook/plugins-ui-generator
v0.0.1
Published
The Pipcook plugin to generate UI samples for object detection and image classification pipelines.
Downloads
3
Keywords
Readme
@pipcook/plugins-ui-generator
The Pipcook plugin to generate UI samples for object detection and image classification pipelines.
Description
Object detection or image classification require massive samples to train the model. This plug-in is a Pipcook plug-in, used to generate a large number of object detection or image classification samples.
Principle
The input of this plug-in is a page that will randomly change every time it is refreshed. The page renders what sample looks like, and the global variables of the page contains labeling information.
After getting this page, the plug-in will use Puppeteer to loop through the screenshot-refresh operation to generate massive samples with random changes.
Parameters
| Parameter | Type | Required | Description | |:----------|:-------|:---------|:------------| | url | string | true | the url to the sample page | | totalNum | number | false | the sample number, default value is 1000 |
Example
"dataCollect": {
"package": "@pipcook/plugins-ui-generator",
"params": {
"url": "https://your-sample-page",
"totalNum": 1000
}
}