code: def test_1d_points(filter_factory, mock_coordinate_transformation):
      #
      # Test a detection with rank 1
      #
      tracker = Tracker(
          "euclidean",
          initialization_delay=0,
          distance_threshold=1,
          filter_factory=filter_factory,
      )
      detection = Detection(points=np.array([1, 1]))
      assert detection.points.shape == (1, 2)
      assert detection.absolute_points.shape == (1, 2)
      tracked_objects = tracker.update([detection])
      assert len(tracked_objects) == 1
      tracked_object = tracked_objects[0]
      assert tracked_object.estimate.shape == (1, 2)
  
file_path: norfair/tests/test_tracker.py
imports: import numpy
  import pytest
  from norfair import Detection, FilterPyKalmanFilterFactory, OptimizedKalmanFilterFactory, Tracker
  from norfair.utils import validate_points
label_desc: Use image node_id 5 for calling a global function with example usage: test_1d_points(filter_factory, mock_coordinate_transformation) without return types