113 Commits

Author SHA1 Message Date
nihui 5da919f213 fix riscv64 ci build (#6424)
* fix arcface sample
2025-11-26 16:44:43 +08:00
heabeounMKTO 32e7d53f82 arcface demo (#6386) 2025-11-26 14:26:41 +08:00
nihui ca57d60ebc whisper truncate audio duration to 30 seconds if too long (#6362) 2025-10-17 18:20:48 +08:00
quink 63a1ee8de2 fix ffmpeg cmd in whisper example (#6361)
Without -fflags bitexact, ffmpeg put copyright info into wav files,
which isn't supported/skipped by this example.
2025-10-17 13:39:25 +08:00
nihui 021af96e70 add whisper asr example (#6359) 2025-10-16 15:49:55 +08:00
sxj731533730 15427dd0dd ppocrv5 preserve spaces when segmenting English text (#6350) 2025-10-11 10:43:07 +08:00
nihui b5bc05e2e8 drop vulkan shader pack8 (#6270) 2025-08-22 11:05:59 +08:00
nihui 1289458569 add piper tts example (#6261) 2025-08-19 19:37:26 +08:00
Yexuan Wu b45ebba117 fix: bad ctc rule in ppocr (#6252) 2025-08-17 17:39:20 +08:00
nihui 171b9d1bba use spdx license header, copyright Tencent (#6152) 2025-07-08 11:01:29 +08:00
nihui 24a3b99f1f drop layer support_image_storage and option use_image_storage (#6126)
* fix pyncnn build
2025-06-16 11:23:41 +08:00
nihui 6af6e8a96b ppocr-v5 example (#6092)
* warn puttext
* split dict
2025-05-30 19:01:31 +08:00
nihui 401f59336f add yoloworld example (#6043) 2025-05-09 16:31:50 +08:00
nihui 7570139879 add yolo11 examples (#6037) 2025-05-07 10:21:18 +08:00
nihui 2d01465999 update rvm example (#6030) 2025-04-30 19:10:00 +08:00
nihui 488c29297e fix model path in yolov8 examples (#5864) 2025-01-02 16:36:47 +08:00
nihui 3b7eac2ac7 update yolov8 det seg pose cls obb examples (#5863) 2025-01-02 16:23:55 +08:00
張小凡 a6d3ef5a0b Fixed bug #5637 (#5640) 2024-08-20 08:23:56 +08:00
張小凡 e550419508 Add yolov8 ncnn example (#5506) 2024-08-15 16:52:33 +08:00
shaoshengsong d522e78af1 support yolov5 6.2 (#4328) 2022-11-03 17:14:12 +08:00
Jie Li 627be612c6 fix(examples): optimize nms_sorted_bboxes (#4030) 2022-07-14 14:28:19 +08:00
Guo Haria c1e2ab7205 add yolov7_pnnx example (#4027) 2022-07-13 10:06:59 +08:00
teng 3901b837e2 add example yolov7 (#4019) 2022-07-12 14:14:15 +08:00
Jie Li 434e55c0f8 fix(examples): load_param always failed (#4001) 2022-07-06 21:38:35 +08:00
Zhuo Zhang c04a1bccce fix(examples): exit program if load_param, load_model failed for clear message (#3983)
* fix(examples): exit program if load_param, load_model failed for clear error messsage

* ignore .cache dir for clangd

* check non-zero instead of -1 for load functions
2022-07-04 14:59:51 +08:00
FeiGeChuanShu 02107e0fbf fix yolox input shape w!=h (#3839) 2022-05-26 09:06:49 +08:00
FeiGeChuanShu 3f6fbcc7a2 add auto num_class for yolov5_pnnx example (#3729) 2022-04-24 18:23:07 +08:00
UNeedCryDear f3129be69a Reduce yolov5 post-processing time. (#3649)
* Reduce yolov5 post time.

sigmoid(X)<1, 
IF:box_confidence<prob_threshold
THEN: confidence=box_confidence*sigmoid(class_score)<box_confidence<prob_threshold,
So there is no need to calculate class_score when box_confidence<prob_threshold,and the confidence of most anchors is lower than the prob_threshold.

Co-authored-by: UNeedCryDear <UNeedCryDear@users.noreply.github.com>
2022-04-19 10:07:49 +08:00
MouriNaruto f4f4cfd784 apply code-format changes 2022-03-05 14:37:58 +00:00
nihui 8af8e52cb0 add nanodetplus pnnx example 2022-03-05 22:31:43 +08:00
nihui 38ae671391 add yolov5 pnnx example 2022-02-23 16:00:20 +08:00
FeiGeChuanShu 14c587e2df Fix draw on const cv::Mat bug in p2pnet example (#3395) 2021-12-02 16:46:01 +08:00
Zhuo Zhang 6ef0f51f40 fix: do not find opencv when simpleocv specified for examples and quantize tool (#3393) 2021-12-01 22:20:54 +08:00
FeiGeChuanShu 3644ded5ac add CrowdCounting-P2PNet example (#3304) 2021-11-22 16:53:16 +08:00
Feng Wang e887f04d03 update(example): preprocess logic of YOLOX (#3315) 2021-10-29 21:19:02 +08:00
nihui 750eab81f5 skip rvm example build with simpleocv 2021-10-20 17:18:31 +08:00
zhiliu6 2ee675d6b8 YOLOv5 example add v6.0 support. (#3292) 2021-10-20 16:33:37 +08:00
nihui b7214c1b76 apply code-format changes 2021-09-23 02:39:21 +00:00
Martin Han ef402b76e0 Add scrfd crowdhuman model support (#3237)
Co-authored-by: v-shux <v-shux@microsoft.com>
2021-09-23 10:38:03 +08:00
FeiGeChuanShu 4cef99b675 Add RobustVideoMatting example code (#3243) 2021-09-22 23:54:44 +08:00
Feng Wang ba8e814539 chore(examples): add YOLOX to ncnn examples (#3110)
* chore(examples): add YOLOX to ncnn examples

* fix(example): make C++98 happy

* apply code-format changes

* fix(example): fix #287 in yolox

* fix(example): make C++98 happy again

* apply code-format changes

Co-authored-by: FateScript <FateScript@users.noreply.github.com>
2021-08-02 14:51:36 +08:00
li mengyang be054aacb0 some misspell (#3046)
* just a spell check

* some misspell
2021-07-03 14:47:35 +08:00
nihui b8e03ced3c allow examples building with simpleocv 2021-07-03 11:57:08 +08:00
nihuini e548344965 fix scrfd rgb input 2021-05-13 17:02:56 +08:00
nihuini 43e1d83a84 add scrfd example 2021-05-13 16:47:49 +08:00
teng c3466a7798 fix array index out of bounds in examples/yolact.cpp (#2722) 2021-03-02 20:22:23 +08:00
RangiLyu ecf1f413b4 fix duplicate variable name in examples/nanodet.cpp (#2719) 2021-03-02 18:34:33 +08:00
nihui 2b7b92b726 update c api allocator 2020-12-25 23:22:31 +08:00
Zhuo Zhang fcf02ccd2a add help message for simplepose example (#2495) 2020-12-23 23:31:15 +08:00
Zhuo Zhang 2c9393e43a fix examples/yolact.cpp sign-compare (#2392) 2020-12-05 17:23:03 +08:00