Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version
  • why is it deprecated ? -- because it is a leftover from the outdated 2.4 api.
  • why does it crash ? -- because the opencv adroid sdk you downloaded does not have any support for SIFT or SURF builtin (they were moved to opencv_contrib long ago.)
  • what should i do ? -- first, have a look at the docs. you should avoid those deprecated interfaces, and use code like ORB orb = ORB.create() instead.

  • how do i get SIFT ? -- you'll have to (re)build your opencv adroid sdk locally from src, with the opencv contrib modules.

    git clone -b 3.4 https://github.com/opencv/opencv

    git clone -b 3.4 https://github.com/opencv/opencv_contrib

    have a look here for further build instructions (you'll also need some tools, like python, cmake and ninja)

  • why is it deprecated ? -- because it is a leftover from the outdated 2.4 api.
  • why does it crash ? -- because the opencv adroid android sdk you downloaded does not have any support for SIFT or SURF builtin (they were moved to opencv_contrib long ago.)
  • what should i do ? -- first, have a look at the docs. you should avoid those deprecated interfaces, and use code like ORB orb = ORB.create() instead.

  • how do i get SIFT ? -- you'll have to (re)build your opencv adroid sdk locally from src, with the opencv contrib modules.

    git clone -b 3.4 https://github.com/opencv/opencv

    git clone -b 3.4 https://github.com/opencv/opencv_contrib

    have a look here for further build instructions (you'll also need some tools, like python, cmake and ninja)

  • why is it deprecated ? -- because it is a leftover from the outdated 2.4 api.
  • why does it crash ? -- because the opencv android sdk you downloaded does not have any support for SIFT or SURF builtin (they were moved to opencv_contrib long ago.)
  • what should i do ? -- first, have a look at the docs. you should avoid those deprecated interfaces, and use code like ORB orb = ORB.create() instead.

  • how do i get SIFT ? -- you'll have to (re)build your opencv adroid android sdk locally from src, with the opencv contrib modules.

    git clone -b 3.4 https://github.com/opencv/opencv

    git clone -b 3.4 https://github.com/opencv/opencv_contrib

    have a look here for further build instructions (you'll also need some tools, like python, cmake and ninja)