File size: 1,257 Bytes
251e479
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Automatic Annotations

We provide gradio examples to obtain annotations that are aligned to our pretrained production-ready models.

Just run

    python gradio_annotator.py

Since everyone has different habit to organize their datasets, we do not hard code any scripts for batch processing. But "gradio_annotator.py" is written in a super readable way, and modifying it to annotate your images should be easy.

In the gradio UI of "gradio_annotator.py" we have the following interfaces:

### Canny Edge

Be careful about "black edge and white background" or "white edge and black background".

![p](../github_page/a1.png)

### HED Edge

Be careful about "black edge and white background" or "white edge and black background".

![p](../github_page/a2.png)

### MLSD Edge

Be careful about "black edge and white background" or "white edge and black background".

![p](../github_page/a3.png)

### MIDAS Depth and Normal

Be careful about RGB or BGR in normal maps.

![p](../github_page/a4.png)

### Openpose

Be careful about RGB or BGR in pose maps.

For our production-ready model, the hand pose option is turned off.

![p](../github_page/a5.png)

### Uniformer Segmentation

Be careful about RGB or BGR in segmentation maps.

![p](../github_page/a6.png)