Update… as stated above the code is all wrong… the order of the outputs in last two optional steps is wrong…Heres what I did:


Changed the order of the last two outputs of the model. This is in the detect_objects function, the assignment of count and scores is reversed. I changed it to 
count = int(get_output_tensor(intepreter, 2))
scores = get_output_tensor(intepreter, 3)
*** these two are reversed in the tutorial *****


When the results are being assigned just after the above tensor assignment the bounding_box and class assignment should be reversed:
result = { ‘class_id’ : boxes [i]
bounding_box : classes[i]


This was the quick fix I did to get it to work… I am sure the code could be optomized.