[Tutor] How to count vehicle? I'm trying but my code don't increasing..

Danny Yoo dyoo at hashcollision.org
Wed Sep 3 00:52:19 CEST 2014


Hi Whees,


You may not be asking your question on an appropriate forum.
Python-tutor is meant for beginners to Python programming, not
beginners to computer vision.  That is, if you're doing a computer
vision assignment, the expectation is that you should already know how
to program Python at a very high level.


Otherwise we get into fairly ridiculous situations where we start
questioning whether or not you know about basic arithmetic line/slope
formulas or floating-point arithmetic.


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.


Try asking your question on a forum specialized to OpenCV, such as:

    http://answers.opencv.org/questions/


More information about the Tutor mailing list