MCPcopy Create free account
hub / github.com/HelloBush/Java_MHXYdemo / main

Method main

src/pkgTest/TestImgSeek.java:7–22  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

5
6public class TestImgSeek{
7 public static void main(String[] args) {
8 String templateFilePath = "./res/pic/0Temp.jpg";
9 String originalFilePath = "./res/pic/0Pic.jpg";
10 ImgSeekBean isb = new ImgSeekBean();
11 isb = ImgSeek.findImg(templateFilePath, originalFilePath,true);
12 if(isb.isSeek()){
13 System.out.println("ģ��ͼ��ԭͼƥ��ɹ���");
14 System.out.println("ƥ�����Ͻ�λ��(x1="+isb.getX1()+",y1="+isb.getY1()+")");
15 System.out.println("ƥ�����½�λ��(x2="+isb.getX2()+",y2="+isb.getY2()+")");
16 }
17 else
18 System.out.println("ģ��ͼ��ԭͼƥ��ʧ��.");
19
20 System.out.println("ģ��ͼ������������" + isb.getTempKeyPointsNum());
21 System.out.println("ƥ���������������" + isb.getMatchKeyPointsNum());
22 }
23}

Callers

nothing calls this directly

Calls 8

findImgMethod · 0.95
isSeekMethod · 0.95
getX1Method · 0.95
getY1Method · 0.95
getX2Method · 0.95
getY2Method · 0.95
getTempKeyPointsNumMethod · 0.95
getMatchKeyPointsNumMethod · 0.95

Tested by

no test coverage detected