Left and Right Position Combine with distance using haarcascade on AGV

Discussion related to "under the hood" OpenMV topics.
aqeelyaacob
Posts: 7
Joined: Fri Apr 06, 2018 11:05 pm

Left and Right Position Combine with distance using haarcascade on AGV

Postby aqeelyaacob » Wed May 02, 2018 10:30 pm

This is last post i did
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
Attachments
myhaar.xml
(7.17 KiB) Downloaded 8 times
spool_detection_3.py
(1.78 KiB) Downloaded 9 times
leftandright.py
(575 Bytes) Downloaded 10 times
User avatar
iabdalkader
Posts: 503
Joined: Sun May 24, 2015 3:53 pm

Re: Left and Right Position Combine with distance using haarcascade on AGV

Postby iabdalkader » Thu May 03, 2018 8:09 am

What is the error you're getting ?
aqeelyaacob
Posts: 7
Joined: Fri Apr 06, 2018 11:05 pm

Re: Left and Right Position Combine with distance using haarcascade on AGV

Postby aqeelyaacob » Mon May 07, 2018 3:26 am

iabdalkader wrote:
Thu May 03, 2018 8:09 am
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
Attachments
untitled_3.py
(4.43 KiB) Downloaded 11 times
aqeelyaacob
Posts: 7
Joined: Fri Apr 06, 2018 11:05 pm

Re: Left and Right Position Combine with distance using haarcascade on AGV

Postby aqeelyaacob » Mon May 07, 2018 4:31 am

aqeelyaacob wrote:
Mon May 07, 2018 3:26 am
iabdalkader wrote:
Thu May 03, 2018 8:09 am
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
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".
aqeelyaacob
Posts: 7
Joined: Fri Apr 06, 2018 11:05 pm

Re: Left and Right Position Combine with distance using haarcascade on AGV

Postby aqeelyaacob » Mon May 07, 2018 11:47 am

aqeelyaacob wrote:
Mon May 07, 2018 4:31 am
aqeelyaacob wrote:
Mon May 07, 2018 3:26 am
iabdalkader wrote:
Thu May 03, 2018 8:09 am
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
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

Return to “Technical Discussion”

Who is online

Users browsing this forum: Bing [Bot] and 6 guests