Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Why FeatureDetector is deprecated on OpenCV 3.42 ??

I am using OpenCV 3.42 on Android Studio and I am using Android 9.0(Pie) Compile SDK version. When i am using FeatureDetector it is in strikethrough format and if i run it the application crashes..

image description

and this is displayed on warning..

image description

How can I fix this?? Thank you.

Why FeatureDetector is deprecated on OpenCV 3.42 ??

I am using OpenCV 3.42 on Android Studio and I am using Android 9.0(Pie) Compile SDK version. When i am using FeatureDetector it is in strikethrough format and if i run it the application crashes..

image descriptionFeatureDetector featureDetector = FeatureDetector.create(FeatureDetector.SIFT);

and this is displayed on warning..

image descriptionuses or overrides a deprecated API. Recompile with -Xlint:deprecation for details.

How can I fix this?? Thank you.

click to hide/show revision 3
None

updated 2018-12-05 01:16:06 -0600

berak gravatar image

Why FeatureDetector is deprecated on OpenCV 3.42 ??

I am using OpenCV 3.42 on Android Studio and I am using Android 9.0(Pie) Compile SDK version. When i am using FeatureDetector it is in strikethrough format and if i run it the application crashes..

FeatureDetector featureDetector = FeatureDetector.create(FeatureDetector.SIFT);

FeatureDetector.create(FeatureDetector.SIFT);

and this is displayed on warning..

uses or overrides a deprecated API.
Recompile with -Xlint:deprecation for details.

details.

How can I fix this?? Thank you.