◆ match()
| def fiftyone_pipeline_engines.tracker.Tracker.match | ( | self, | |
| result | |||
| ) |
If object is found in cache, the match function is called.
@type key : result of the track function @rtype bool
- Returns
- whether a match has been made
\r\n
A tracker is an instance of datakeyed cache which, if a result is found in the cache, calls an additional boolean match method.
| def | track (self, key)
The track method calls the DataKeyedCache get method, if it receives a result it sends it onto a match function. More...
|
| def | match (self, result)
If object is found in cache, the match function is called. More...
|
Public Member Functions inherited from fiftyone_pipeline_engines.datakeyed_cache.DataKeyedCache | |
| def | get_cache_value (self, cachekey)
Get data from the cache @type key : string. More...
|
| def | set_cache_value (self, cachekey, value)
Place data in the cache @type key : string. More...
|
| def fiftyone_pipeline_engines.tracker.Tracker.match | ( | self, | |
| result | |||
| ) |
If object is found in cache, the match function is called.
@type key : result of the track function @rtype bool
| def fiftyone_pipeline_engines.tracker.Tracker.track | ( | self, | |
| key | |||
| ) |
The track method calls the DataKeyedCache get method, if it receives a result it sends it onto a match function.
@type key : cache key to run through tracker @rtype bool