-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
anylots
committed
Jun 28, 2020
1 parent
84520de
commit c3b2699
Showing
11 changed files
with
95 additions
and
40 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
src/main/java/com/frame/detection/client/ImageDetectClient.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,18 @@ | ||
package com.frame.detection.client; | ||
|
||
/** | ||
* image detect client | ||
* | ||
* @author anylots | ||
* @version $Id: HttpClient.java, v 0.1 2020年06月26日 22:42 anylots Exp $ | ||
*/ | ||
public interface ImageDetectClient { | ||
|
||
/** | ||
* get image info | ||
* | ||
* @param imageLink image link | ||
* @return | ||
*/ | ||
String getImageInfo(String imageLink); | ||
} |
28 changes: 19 additions & 9 deletions
28
src/main/java/com/frame/detection/client/ImageDetectClientImpl.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
src/main/java/com/frame/detection/constants/ViewModelConstants.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package com.frame.detection.constants; | ||
|
||
/** | ||
* constants of viewModel | ||
* | ||
* @author anylots | ||
* @version $Id: ViewModelConstant.java, v 0.1 2020年06月28日 21:33 anylots Exp $ | ||
*/ | ||
public class ViewModelConstants { | ||
|
||
/** | ||
* detect html | ||
*/ | ||
public static final String DETECT = "detect"; | ||
|
||
/** | ||
* detectOut html | ||
*/ | ||
public static final String DETECT_OUT = "detectOut"; | ||
|
||
/** | ||
* image on detectOut | ||
*/ | ||
public static final String DETECT_OUT_IMAGE = "detectOutImage"; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters