Today I decided to implement codes to ensure the Hue Saturation and Value ranges detected are only based on the correct detection area. To do this, I compare the rectangle portion data returned after the detection with the white square's position. If the white square is inside the rectangle portion of the detection, it will be acceped, or else it will be discarded.
I spend the whole day in the midst of implementing this as well as changing the existing code to suit them to this new way of detection.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment