我试图在两个图像之间显示匹配的关键点(一个是从我的相机捕获的,另一个是从数据库中捕获的)
任何人都可以帮助我在我的代码中编写DrawMatches函数,以显示2个图像之间匹配的行.
这是我的代码:
public final class ImageDetectionFilter{
// Flag draw target Image corner.
private boolean flagDraw ;
// The reference image (this detector's target).
private final Mat mReferenceImage;
// Features of the reference image.
private final MatOfKeyPoint mReferenceKeypoints = new MatOfKeyPoint();
// Descriptors of the reference image's features.
private final Mat mReferenceDescriptors = new Mat();
// The corner coordinates of the reference image, in pixels.
// CvType defines the color depth, number of channels, and
// channel layout in the …Run Code Online (Sandbox Code Playgroud) 我正在研究 OpenCV4Android 的示例教程。当我在模拟器中打开相机时,它会打开一些带有白盒和黑盒的奇怪东西。
由于这个摄像头,我无法运行 OpenCV4Andorid 的示例项目。
这是我的模拟器的设置

单击相机按钮时的结果

请你们中的任何人都可以让我知道这件事。我还没有找到任何合适的解决方案来解决我的问题。
我的相机怎么了。我配置正确。
谢谢