Similarity.cs 664 B

1234567891011121314151617181920212223
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace bbiwarg.Recognition.Tracking
  7. {
  8. public class Similarity<T, TrackedT>
  9. where T :TrackableObject
  10. where TrackedT : TrackedObject<T>
  11. {
  12. public TrackedT TrackedObject { get; private set; }
  13. public T DetectedObject { get; private set; }
  14. public float Value { get; private set; }
  15. public Similarity(TrackedT trackedObject, T detectedObject, float value) {
  16. TrackedObject = trackedObject;
  17. DetectedObject = detectedObject;
  18. Value = value;
  19. }
  20. }
  21. }