Here is my code:
for ts, blob in izip(ts_list, blobs):
ts = simplecvimg.track("camshift", i, fgmask,b.boundingBox())
print(ts)
Here is the error I get:
if not ts and not img:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
While I understand from here ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all() why one get's this error, I don't know what to do about this error in my situation. Any help will be appreciated!