(String[] args)
| 5 | |
| 6 | public 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 | } |
nothing calls this directly
no test coverage detected