OpenCV/Python - Check if objects are to the right or left of a line

Multi tool use
Multi tool use


OpenCV/Python - Check if objects are to the right or left of a line



I have a list of 20 bounding boxes for objects that are at random places in an image. I want to put a diagonal line (I already have the angle function done) in the middle and check to see how many objects are on either side, and keep moving left or right until there are 10 on each side.



Is this possible? Thanks in advance





Isn't that just a very simple matter of checking coordinates?
– Nyerguds
Jul 2 at 19:45





I honestly have no clue why I hadn't thought it through that way...I feel really dumb now. Thanks for the help though!
– LotaMaster
Jul 2 at 19:59









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

rdi qBvZIG66KcQv8VhT9RW3 7 9TDHE LdHF HHk
zJV,FZ,EKFFRrHRS7VYsD g,Kf2,Ks w,P,udAst2EzCc4Jk8qdTI1H,4t pMd,qVS

Popular posts from this blog

PHP contact form sending but not receiving emails

Do graphics cards have individual ID by which single devices can be distinguished?

Create weekly swift ios local notifications