Today, I tested out the application and to my joy, it worked successfully! I was overjoyed.....for the first try. However for the second try, it was not as good as background objects start to appear and interfere with what should be correctly detected.
I went back and look at my code for changes that I can make to improve this situation, and finally found something that I could improve on in the background (or automatic calibration) calibration method. Apparently the reason the background calibration will cause the correct range set by my current calibration method, as it was based on last time's logic, where it calibrate simply by the default hue, saturation and value range. I edited the logic by changing it to adjust a maximum of +20 and -20 changes to the hue, saturation and value range without clearing the modifications to the hue, saturation and value range that my current calibration does. I tested it out and it worked fine. I then proceed to invite Kevin to see this current application tomorrow.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment