code: def test_descriptor_orb():
      detector_extractor = ORB(fast_n=12, fast_threshold=0.20)
      exp_descriptors = np.array(
          [
              [0, 0, 0, 1, 0, 0, 0, 1, 0, 1],
              [1, 1, 0, 1, 0, 0, 0, 1, 0, 1],
              [1, 1, 0, 0, 1, 0, 0, 0, 1, 1],
              [1, 1, 1, 0, 0, 0, 1, 1, 1, 0],
              [0, 0, 0, 1, 0, 1, 1, 1, 1, 1],
              [1, 0, 0, 1, 1, 0, 0, 0, 1, 0],
              [0, 1, 1, 1, 1, 1, 1, 1, 1, 0],
              [1, 1, 1, 0, 1, 1, 1, 1, 0, 0],
              [1, 1, 1, 1, 0, 0, 0, 1, 1, 1],
              [0, 1, 1, 0, 0, 1, 1, 0, 1, 1],
              [1, 1, 0, 0, 0, 0, 0, 0, 1, 1],
              [1, 0, 0, 0, 0, 1, 0, 1, 1, 1],
              [1, 0, 1, 1, 1, 0, 1, 0, 1, 0],
              [0, 0, 1, 1, 0, 0, 0, 0, 1, 1],
              [0, 1, 1, 0, 0, 0, 1, 0, 0, 1],
              [0, 1, 1, 0, 0, 0, 1, 1, 1, 1],
              [0, 1, 1, 1, 1, 1, 1, 1, 1, 1],
              [0, 0, 1, 1, 1, 1, 0, 1, 1, 0],
              [0, 0, 1, 1, 1, 0, 1, 0, 0, 1],
              [0, 1, 0, 0, 0, 0, 0, 0, 1, 0],
          ],
          dtype=bool,
      )
  
      detector_extractor.detect(img)
      detector_extractor.extract(
          img,
          detector_extractor.keypoints,
          detector_extractor.scales,
          detector_extractor.orientations,
      )
  
      assert_equal(
          exp_descriptors,
          detector_extractor.descriptors[100:120, 10:20],
      )
  
      detector_extractor.detect_and_extract(img)
      assert_equal(
          exp_descriptors,
          detector_extractor.descriptors[100:120, 10:20],
      )
      keypoints_count = detector_extractor.keypoints.shape[0]
      assert keypoints_count == detector_extractor.descriptors.shape[0]
      assert keypoints_count == detector_extractor.orientations.shape[0]
      assert keypoints_count == detector_extractor.responses.shape[0]
      assert keypoints_count == detector_extractor.scales.shape[0]
  
file_path: scikit-image/skimage/feature/tests/test_orb.py
imports: import numpy
  import pytest
  from numpy.testing import assert_almost_equal, assert_equal
  from skimage import data
  from skimage._shared.testing import run_in_parallel, xfail, arch32
  from skimage.feature import ORB
  from skimage.util.dtype import _convert
label_desc: Use image node_id 3 for calling a global function with example usage: test_descriptor_orb() without return types