Ask user to adjust color threshold and use those setting for subsequent live image acquisition/analysis
I’m Attempting to write a target tracking script. So far it is working great. I am tracking the centroid of an orange object in live video from my computers Webcam. But I Realized that my color thresholding script (which I made and exported from the color threshold app) doesn’t always work because the lighting in the room that I am capturing images changes. I would like to be able to ask the user every time the script starts running If the threshold parameters look OK, and if not, be able to adjust the parameters, and automatically export and use the new thresholding code. Right now i have to open the thresholding app, change settings, save a new script, and add that new script to my code manually if i want to utilize my new thresholding settings. My question is, once I Prompt the user to Check if a capture image looks OK, how do I Let the user change the thresholding settings and store those settings for all subsequent captured live images?I’m Attempting to write a target tracking script. So far it is working great. I am tracking the centroid of an orange object in live video from my computers Webcam. But I Realized that my color thresholding script (which I made and exported from the color threshold app) doesn’t always work because the lighting in the room that I am capturing images changes. I would like to be able to ask the user every time the script starts running If the threshold parameters look OK, and if not, be able to adjust the parameters, and automatically export and use the new thresholding code. Right now i have to open the thresholding app, change settings, save a new script, and add that new script to my code manually if i want to utilize my new thresholding settings. My question is, once I Prompt the user to Check if a capture image looks OK, how do I Let the user change the thresholding settings and store those settings for all subsequent captured live images? I’m Attempting to write a target tracking script. So far it is working great. I am tracking the centroid of an orange object in live video from my computers Webcam. But I Realized that my color thresholding script (which I made and exported from the color threshold app) doesn’t always work because the lighting in the room that I am capturing images changes. I would like to be able to ask the user every time the script starts running If the threshold parameters look OK, and if not, be able to adjust the parameters, and automatically export and use the new thresholding code. Right now i have to open the thresholding app, change settings, save a new script, and add that new script to my code manually if i want to utilize my new thresholding settings. My question is, once I Prompt the user to Check if a capture image looks OK, how do I Let the user change the thresholding settings and store those settings for all subsequent captured live images? color thresholding, live image acquisition MATLAB Answers — New Questions