You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
950 B

6 years ago
  1. syntax = "proto2";
  2. package object_detection.protos;
  3. // Configuration proto for region similarity calculators. See
  4. // core/region_similarity_calculator.py for details.
  5. message RegionSimilarityCalculator {
  6. oneof region_similarity {
  7. NegSqDistSimilarity neg_sq_dist_similarity = 1;
  8. IouSimilarity iou_similarity = 2;
  9. IoaSimilarity ioa_similarity = 3;
  10. ThresholdedIouSimilarity thresholded_iou_similarity = 4;
  11. }
  12. }
  13. // Configuration for negative squared distance similarity calculator.
  14. message NegSqDistSimilarity {
  15. }
  16. // Configuration for intersection-over-union (IOU) similarity calculator.
  17. message IouSimilarity {
  18. }
  19. // Configuration for intersection-over-area (IOA) similarity calculator.
  20. message IoaSimilarity {
  21. }
  22. // Configuration for thresholded-intersection-over-union similarity calculator.
  23. message ThresholdedIouSimilarity {
  24. // IOU threshold used for filtering scores.
  25. optional float iou_threshold = 1 [default = 0.5];
  26. }