summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
a54d0db)
Signed-off-by: khemendra kumar <khemendra.kumar@huawei.com>
Change-Id: I254db3a4cefc54a0426cdc907691b5e3c52ea54e
Store the data and manage multiple input video feeds
"""
def __init__(self, current_count=0, total_count=0, time=0):
Store the data and manage multiple input video feeds
"""
def __init__(self, current_count=0, total_count=0, time=0):
- self.type = "Shelf_INV"
- self.labels = "Bottles"
- self.current_count = current_count
- self.total_count = total_count
- self.time = time
+ self.type = "Shelf_INV"
+ self.labels = "Bottles"
+ self.current_count = current_count
+ self.total_count = total_count
+ self.time = time
def setcurrentcount(self, current_count):
def setcurrentcount(self, current_count):
- self.current_count = current_count
+ self.current_count = current_count
def settotalcount(self, total_count):
def settotalcount(self, total_count):
- self.total_count = total_count
+ self.total_count = total_count
def getcurrentcount(self):
def getcurrentcount(self):
- return self.current_count
+ return self.current_count
- return self.total_count
+ return self.total_count
def setlabel(self, labels):
def setlabel(self, labels):
def store_data(inventry_info):
"""
def store_data(inventry_info):
"""