TrackableObject.cs 485 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. abstract class TrackableObject
  9. {
  10. public int TrackID { get; private set; }
  11. public TrackableObject() {
  12. TrackID = 0;
  13. }
  14. abstract public float getSimilarity(TrackableObject compareObject);
  15. public void setTrackID(int id) {
  16. TrackID = id;
  17. }
  18. }
  19. }