mirror of
https://gitee.com/open-visual/face-search.git
synced 2025-07-10 19:37:01 +08:00
update:添加测试用例
This commit is contained in:
parent
667e14cd7e
commit
aa73c23b30
@ -20,8 +20,9 @@ public class InsightScrfdFaceDetectionTest extends BaseTest {
|
|||||||
private static String modelPath = "face-search-core/src/main/resources/model/onnx/detection_face_scrfd/scrfd_500m_bnkps.onnx";
|
private static String modelPath = "face-search-core/src/main/resources/model/onnx/detection_face_scrfd/scrfd_500m_bnkps.onnx";
|
||||||
|
|
||||||
// private static String imagePath = "face-search-core/src/test/resources/images/faces";
|
// private static String imagePath = "face-search-core/src/test/resources/images/faces";
|
||||||
private static String imagePath = "face-search-core/src/test/resources/images/faces/rotate/rotate_0001.jpg";
|
// private static String imagePath = "face-search-core/src/test/resources/images/faces/rotate/rotate_0001.jpg";
|
||||||
// private static String imagePath = "face-search-core/src/test/resources/images/faces/rotate";
|
private static String imagePath = "face-search-core/src/test/resources/images/faces/rotate";
|
||||||
|
// private static String imagePath = "face-search-core/src/test/resources/images/faces/big/big_002.jpg";
|
||||||
|
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
|
@ -23,6 +23,7 @@ public class PcnNetworkFaceDetectionTest extends BaseTest {
|
|||||||
|
|
||||||
// private static String imagePath = "face-search-core/src/test/resources/images/faces";
|
// private static String imagePath = "face-search-core/src/test/resources/images/faces";
|
||||||
private static String imagePath = "face-search-core/src/test/resources/images/faces/rotate/rotate_0001.jpg";
|
private static String imagePath = "face-search-core/src/test/resources/images/faces/rotate/rotate_0001.jpg";
|
||||||
|
// private static String imagePath = "face-search-core/src/test/resources/images/faces/big/big_002.jpg";
|
||||||
// private static String imagePath = "face-search-core/src/test/resources/images/faces/rotate";
|
// private static String imagePath = "face-search-core/src/test/resources/images/faces/rotate";
|
||||||
// private static String imagePath = "face-search-core/src/test/resources/images/faces/debug";
|
// private static String imagePath = "face-search-core/src/test/resources/images/faces/debug";
|
||||||
|
|
||||||
|
BIN
face-search-core/src/test/resources/images/faces/big/big_001.jpg
Normal file
BIN
face-search-core/src/test/resources/images/faces/big/big_001.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 32 KiB |
BIN
face-search-core/src/test/resources/images/faces/big/big_002.jpg
Normal file
BIN
face-search-core/src/test/resources/images/faces/big/big_002.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 122 KiB |
Loading…
x
Reference in New Issue
Block a user