Skip to content

Commit

Permalink
Add back example output images as lfs tracked files (opencv#166)
Browse files Browse the repository at this point in the history
* lfs track images now

* add back example images

* modify paths

* modify paths part 2

* correct paths in each model's readme
  • Loading branch information
fengyuentau authored Jun 8, 2023
1 parent 1f19f82 commit d9d3d5b
Show file tree
Hide file tree
Showing 45 changed files with 132 additions and 39 deletions.
8 changes: 7 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,10 @@
*.weights filter=lfs diff=lfs merge=lfs -text

# ONNX
*.onnx filter=lfs diff=lfs merge=lfs -text
*.onnx filter=lfs diff=lfs merge=lfs -text

# Images
*.jpg filter=lfs diff=lfs merge=lfs -text
*.gif filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.webp filter=lfs diff=lfs merge=lfs -text
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,61 +50,61 @@ Some examples are listed below. You can find more in the directory of each model

### Face Detection with [YuNet](./models/face_detection_yunet/)

![largest selfie](./models/face_detection_yunet/examples/largest_selfie.jpg)
![largest selfie](./models/face_detection_yunet/example_outputs/largest_selfie.jpg)

### Facial Expression Recognition with [Progressive Teacher](./models/facial_expression_recognition/)

![fer demo](./models/facial_expression_recognition/examples/selfie.jpg)
![fer demo](./models/facial_expression_recognition/example_outputs/selfie.jpg)

### Human Segmentation with [PP-HumanSeg](./models/human_segmentation_pphumanseg/)

![messi](./models/human_segmentation_pphumanseg/examples/messi.jpg)
![messi](./models/human_segmentation_pphumanseg/example_outputs/messi.jpg)

### License Plate Detection with [LPD_YuNet](./models/license_plate_detection_yunet/)

![license plate detection](./models/license_plate_detection_yunet/examples/lpd_yunet_demo.gif)
![license plate detection](./models/license_plate_detection_yunet/example_outputs/lpd_yunet_demo.gif)

### Object Detection with [NanoDet](./models/object_detection_nanodet/) & [YOLOX](./models/object_detection_yolox/)

![nanodet demo](./models/object_detection_nanodet/samples/1_res.jpg)
![nanodet demo](./models/object_detection_nanodet/example_outputs/1_res.jpg)

![yolox demo](./models/object_detection_yolox/samples/3_res.jpg)
![yolox demo](./models/object_detection_yolox/example_outputs/3_res.jpg)

### Object Tracking with [DaSiamRPN](./models/object_tracking_dasiamrpn/)

![webcam demo](./models/object_tracking_dasiamrpn/examples/dasiamrpn_demo.gif)
![webcam demo](./models/object_tracking_dasiamrpn/example_outputs/dasiamrpn_demo.gif)

### Palm Detection with [MP-PalmDet](./models/palm_detection_mediapipe/)

![palm det](./models/palm_detection_mediapipe/examples/mppalmdet_demo.gif)
![palm det](./models/palm_detection_mediapipe/example_outputs/mppalmdet_demo.gif)

### Hand Pose Estimation with [MP-HandPose](models/handpose_estimation_mediapipe/)

![handpose estimation](models/handpose_estimation_mediapipe/examples/mphandpose_demo.webp)
![handpose estimation](models/handpose_estimation_mediapipe/example_outputs/mphandpose_demo.webp)

### Person Detection with [MP-PersonDet](./models/person_detection_mediapipe)

![person det](./models/person_detection_mediapipe/examples/mppersondet_demo.webp)
![person det](./models/person_detection_mediapipe/example_outputs/mppersondet_demo.webp)

### Pose Estimation with [MP-Pose](models/pose_estimation_mediapipe)

![pose_estimation](models/pose_estimation_mediapipe/examples/mpposeest_demo.webp)
![pose_estimation](models/pose_estimation_mediapipe/example_outputs/mpposeest_demo.webp)

### QR Code Detection and Parsing with [WeChatQRCode](./models/qrcode_wechatqrcode/)

![qrcode](./models/qrcode_wechatqrcode/examples/wechat_qrcode_demo.gif)
![qrcode](./models/qrcode_wechatqrcode/example_outputs/wechat_qrcode_demo.gif)

### Chinese Text detection [DB](./models/text_detection_db/)

![mask](./models/text_detection_db/examples/mask.jpg)
![mask](./models/text_detection_db/example_outputs/mask.jpg)

### English Text detection [DB](./models/text_detection_db/)

![gsoc](./models/text_detection_db/examples/gsoc.jpg)
![gsoc](./models/text_detection_db/example_outputs/gsoc.jpg)

### Text Detection with [CRNN](./models/text_recognition_crnn/)

![crnn_demo](./models/text_recognition_crnn/examples/CRNNCTC.gif)
![crnn_demo](./models/text_recognition_crnn/example_outputs/CRNNCTC.gif)

## License

Expand Down
4 changes: 2 additions & 2 deletions models/face_detection_yunet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ cmake --build build

### Example outputs

![webcam demo](./examples/yunet_demo.gif)
![webcam demo](./example_outputs/yunet_demo.gif)

![largest selfie](./examples/largest_selfie.jpg)
![largest selfie](./example_outputs/largest_selfie.jpg)

## License

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions models/face_detection_yunet/example_outputs/yunet_demo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion models/facial_expression_recognition/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ python demo.py --input /path/to/image -v

Note: Zoom in to to see the recognized facial expression in the top-left corner of each face boxes.

![fer demo](./examples/selfie.jpg)
![fer demo](./example_outputs/selfie.jpg)

## License

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions models/handpose_estimation_mediapipe/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This model estimates 21 hand keypoints per detected hand from [palm detector](../palm_detection_mediapipe). (The image below is referenced from [MediaPipe Hands Keypoints](https://github.com/tensorflow/tfjs-models/tree/master/hand-pose-detection#mediapipe-hands-keypoints-used-in-mediapipe-hands))

![MediaPipe Hands Keypoints](./examples/hand_keypoints.png)
![MediaPipe Hands Keypoints](./example_outputs/hand_keypoints.png)

This model is converted from TFlite to ONNX using following tools:
- TFLite model to ONNX: https://github.com/onnx/tensorflow-onnx
Expand All @@ -24,7 +24,7 @@ python demo.py -i /path/to/image -v

### Example outputs

![webcam demo](./examples/mphandpose_demo.webp)
![webcam demo](./example_outputs/mphandpose_demo.webp)

## License

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Git LFS file not shown
4 changes: 2 additions & 2 deletions models/human_segmentation_pphumanseg/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ python demo.py --help

### Example outputs

![webcam demo](./examples/pphumanseg_demo.gif)
![webcam demo](./example_outputs/pphumanseg_demo.gif)

![messi](./examples/messi.jpg)
![messi](./example_outputs/messi.jpg)

---
Results of accuracy evaluation with [tools/eval](../../tools/eval).
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion models/license_plate_detection_yunet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ python demo.py --help

### Example outputs

![lpd](./examples/lpd_yunet_demo.gif)
![lpd](./example_outputs/lpd_yunet_demo.gif)

## License

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions models/object_detection_nanodet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ Note:

Here are some of the sample results that were observed using the model,

![test1_res.jpg](./samples/1_res.jpg)
![test2_res.jpg](./samples/2_res.jpg)
![test1_res.jpg](./example_outputs/1_res.jpg)
![test2_res.jpg](./example_outputs/2_res.jpg)

Check [benchmark/download_data.py](../../benchmark/download_data.py) for the original images.

Video inference result,
![WebCamR.gif](./samples/WebCamR.gif)
![WebCamR.gif](./example_outputs/WebCamR.gif)

## Model metrics:

Expand Down
3 changes: 3 additions & 0 deletions models/object_detection_nanodet/example_outputs/1_res.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions models/object_detection_nanodet/example_outputs/2_res.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions models/object_detection_nanodet/example_outputs/3_res.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions models/object_detection_nanodet/example_outputs/WebCamR.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions models/object_detection_yolox/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ Note:

Here are some of the sample results that were observed using the model (**yolox_s.onnx**),

![1_res.jpg](./samples/1_res.jpg)
![2_res.jpg](./samples/2_res.jpg)
![3_res.jpg](./samples/3_res.jpg)
![1_res.jpg](./example_outputs/1_res.jpg)
![2_res.jpg](./example_outputs/2_res.jpg)
![3_res.jpg](./example_outputs/3_res.jpg)

Check [benchmark/download_data.py](../../benchmark/download_data.py) for the original images.

Expand Down
3 changes: 3 additions & 0 deletions models/object_detection_yolox/example_outputs/1_res.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions models/object_detection_yolox/example_outputs/2_res.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions models/object_detection_yolox/example_outputs/3_res.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion models/object_tracking_dasiamrpn/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ python demo.py --help

### Example outputs

![webcam demo](./examples/dasiamrpn_demo.gif)
![webcam demo](./example_outputs/dasiamrpn_demo.gif)

## License

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion models/palm_detection_mediapipe/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ python demo.py --help

### Example outputs

![webcam demo](./examples/mppalmdet_demo.gif)
![webcam demo](./example_outputs/mppalmdet_demo.gif)

## License

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion models/person_detection_mediapipe/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ python demo.py --help

### Example outputs

![webcam demo](examples/mppersondet_demo.webp)
![webcam demo](./example_outputs/mppersondet_demo.webp)

## License

Expand Down
Git LFS file not shown
2 changes: 1 addition & 1 deletion models/pose_estimation_mediapipe/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ python demo.py -i /path/to/image -v

### Example outputs

![webcam demo](examples/mpposeest_demo.webp)
![webcam demo](./example_outputs/mpposeest_demo.webp)

## License

Expand Down
Git LFS file not shown
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion models/qrcode_wechatqrcode/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ python demo.py --help

### Example outputs

![webcam demo](./examples/wechat_qrcode_demo.gif)
![webcam demo](./example_outputs/wechat_qrcode_demo.gif)

## License

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions models/text_detection_db/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ python demo.py --help

### Example outputs

![mask](./examples/mask.jpg)
![mask](./example_outputs/mask.jpg)

![gsoc](./examples/gsoc.jpg)
![gsoc](./example_outputs/gsoc.jpg)

## License

Expand Down
3 changes: 3 additions & 0 deletions models/text_detection_db/example_outputs/gsoc.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions models/text_detection_db/example_outputs/mask.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions models/text_recognition_crnn/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ python demo.py --help

### Examples

![CRNNCTC](./examples/CRNNCTC.gif)
![CRNNCTC](./example_outputs/CRNNCTC.gif)

![demo](./examples/demo.jpg)
![demo](./example_outputs/demo.jpg)

## License

Expand Down
3 changes: 3 additions & 0 deletions models/text_recognition_crnn/example_outputs/CRNNCTC.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions models/text_recognition_crnn/example_outputs/demo.jpg

0 comments on commit d9d3d5b

Please sign in to comment.