Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imgcook/pipcook-plugin-ui-generator
generate UI samples for object detection and image classification pipelines.
https://github.com/imgcook/pipcook-plugin-ui-generator
Last synced: 3 days ago
JSON representation
generate UI samples for object detection and image classification pipelines.
- Host: GitHub
- URL: https://github.com/imgcook/pipcook-plugin-ui-generator
- Owner: imgcook
- License: gpl-3.0
- Created: 2020-11-18T06:48:27.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2020-11-18T08:11:47.000Z (almost 4 years ago)
- Last Synced: 2024-08-02T19:01:35.044Z (4 months ago)
- Language: TypeScript
- Size: 84 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-imgcook - imgcook/pipcook-plugin-ui-generator
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.
![](https://img.alicdn.com/tfs/TB1k5DsrfzO3e4jSZFxXXaP_FXa-1454-494.png)
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
```json
"dataCollect": {
"package": "@pipcook/plugins-ui-generator",
"params": {
"url": "https://your-sample-page",
"totalNum": 1000
}
}
```