<< return to Pixycam.com

How to view the line tracking algorithm source code

Hello,
I solved the problem, And Can you explain these functions int line.cpp a little bit?
int sendLineSegments(uint8_t renderFlags)
void sendPoints(const SimpleList<Point> &points, uint8_t renderFlags, const char *desc)
void sendNadirs(const SimpleList<Nadir> &nadirs, uint8_t renderFlags, const char *desc)
void sendLines(const SimpleList<Line2> &lines, uint8_t renderFlags, const char *desc)
void sendTrackedLines(const SimpleList<Tracker<Line2> > &lines, uint8_t renderFlags, const char *desc)
void sendIntersections(const SimpleList<Intersection> &lines, uint8_t renderFlags, const char *desc)
void sendPrimaryFeatures(uint8_t renderFlags)
Thanks a lot~

Hello,
I believe the “send” routines send back the information to PixyMon. You can enable by setting the Debug level to 2.

https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:pixymon_index#line-tracking-expert-tab

And then looking at the “Layers” tab in the PixyMon Parameters

https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:pixymon_index#pixymon-parameters-tab

Hope this helps!

Edward