Skip to content

Commit 7d8ef06

Browse files
authored
Update README.md
1 parent 919d087 commit 7d8ef06

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Custom object detection/README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ $ mkdir build
2424
$ cd build
2525
$ cmake ..
2626
$ cmake --build . --config Release
27-
2827
```
2928
- Set the system path environment variable (usually C:\Users\xxx\dlib-19.21\tools\imglab\build\Release).
3029

@@ -38,13 +37,22 @@ $ cmake --build . --config Release
3837
- Note: I have already provided the annotated xml file for this example, make sure you rename/create as per your wish in the command.
3938
- Start imglab: ```$ imglab face_detector/newfile.xml```. The following GUI should open up:
4039

40+
<div align="center">
41+
<img src= mylib/utils/imglab.png?raw=true width=550>
42+
</div>
43+
4144
- To start labeling, hold the 'shift' key and drag a bounding box around the object.
4245
- It is important that all the examples of objects are labeled to avoid false positives/bad accuracies.
4346

4447
> If there is an ROI that you are unsure about and want to be ignored entirely during the training process, simply double-click the bounding box and press the 'i' key. This will cross out the bounding box and mark it as 'ignored'.
4548
4649
- After the process is done, click file > save. The annotated file should look like this:
4750

51+
<div align="center">
52+
<img src= mylib/utils/annotated.png?raw=true width=450>
53+
</div>
54+
55+
4856
## Inference
4957

5058
- To train a new detector:

0 commit comments

Comments
 (0)