Left and Right Position Combine with distance using haarcascade on AGV

This is last post i did
http://forums.openmv.io/posting.php?mode=reply&f=6&t=223
So here i do a new post:
i did some research for know either left or right side.this code what i got on leftandright.py
want to combine with spoolfinder.py.
i attach a new xml.Can u convert it to me cause when i try to convert using ubuntu,also got some error
myhaar.xml (7.17 KB)
spool_detection_3.py (1.78 KB)
leftandright.py (575 Bytes)

What is the error you’re getting ?

Error on import argparse.I find a new way to complete my project using by using diffrential_translation for determine left or right side and haarcascade image finding.but got an error which is “Oserror:Unknown type”.here i attached the py file
untitled_3.py (4.43 KB)

Far haar cascade i solve the problem by using the terminal of ubuntu.So it solve,tq.But for combination of diffrential_translation for determine left or right side and haarcascade for image finding,still got same error which is “Oserror:Unknown type”.

Its done.I change the pixel format for RGB565 to grayscale for differential_translation algorithm.Now it is completed.Thanks iabdalkader