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
Who created openai? |
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
package ly.umbrella.opencvtest2; | |
import android.content.Context; | |
import android.graphics.Bitmap; | |
import android.media.Image; | |
import android.media.ImageReader; | |
import android.util.Log; | |
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
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package eigthq; | |
import java.util.ArrayList; | |
import java.util.LinkedList; |
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
public Meta getMatch(Mat frame) { | |
try { | |
FeatureDetector detector = FeatureDetector.create(FeatureDetector.ORB); | |
DescriptorExtractor descriptor = DescriptorExtractor.create(DescriptorExtractor.ORB);; | |
DescriptorMatcher matcher = DescriptorMatcher.create(DescriptorMatcher.BRUTEFORCE_HAMMING); | |
//first image | |
Mat img1 = frame.clone();//Imgcodecs.imread("C:\\Users\\Dexter\\Desktop\\opencv\\2\\333.png", 0); |