Hi,
I wanted to modify the recognition code and make my own custom recognition firmware on pixy. I am using gcc branch.
Can you please tell me where the signature matching happen in the code? Where exactly the input frame pixels are processed to match with set signatures?
As far as I understood from the code(this might be wrong but it may also be helpful for community)
When we press the button setSignature is called which in tern calls cc_setSigPoint with image center as seed point for setting the signature. Now generateSignature function in colorlut.cpp takes the seed point and grow region around this seed point based on some algorithm which isn’t clear to me(I am assuming it is somewhat similar to floodfill taking similar pixel data).
Since pixy can’t accommodate the complete image frame is just part of the image? IterPixel::next gives pixel data but only for a part of the frame?
So at the end you have the signature for the object which is stored in m_runtimeSigs with some parameters like (m_uMin, m_uMax, m_vMax, m_vMin, m_rgbSat)? But where is the signature matching happening for each frames? Is generateLUT somehow is related to this? What is the parent method which is called with each new frame grabbed by sensor?
Thanks & Regards,