[Tutor] How to count vehicle? I'm trying but my code don't increasing..
Danny Yoo
dyoo at hashcollision.org
Wed Sep 3 01:04:34 CEST 2014
>
> On Tue, Sep 2, 2014 at 7:01 AM, Whees Northbee <ch.de2.2309 at gmail.com> wrote:
>> If all of these confusing, I'll simplify the problem, I need to know if a
>> point (x,y) exactly at a line where line is (ax1,ay) to (ax2,ay)..
>
>
> Case in point: in the question above, you can't possibly be asking us
> to help you write a predicate that tells whether a point is on a line.
> So I have to be misunderstanding your question. You must be asking
> for a library function in OpenCV, and I'm pretty sure none of us are
> OpenCV experts.
Ok, found an OpenCV-specific answer about this:
http://stackoverflow.com/questions/5596805/opencv-detect-if-points-lie-along-line-plane
As expected, this is very domain-specific, and probably not suitable
for Python-tutor.
More information about the Tutor
mailing list