Thank you for such a comprehensive reply. You've certainly given me a lot to think about!
The barrier to using a supervised learning approach with labeled data is there there is so much data to label! I have ~15 hours of footage. A certain amount of manual labeling and error correction is inevitable though because whatever process I come up with won't be 100% reliable.
I have scanned images of the paper after all the characters were written. I think I will develop an objective function that compares predicted pen tip points with areas where I know ink was applied to the page. I don't need to process the videos online, so I can pose the entire video for each Chinese character as an optimization problem. I will look up kalman smoothing to make sure I don't end up reinventing the wheel.
Shadow detection is a great idea. I will look into that.
I hear what you're saying about the amount of data to label. The best answer really depends on your goals and incentives. If you don't label the data, how do you know how well you're doing?
If this is a fun project, spot check and don't worry about it. If you need to give weekly progress reports and impress a client (or professor, manager, VP, etc.) you'll want solid metrics. No labels = no quantitative evaluation.
It's not the most fun part of the job, but I think building good tools is crucial. You shouldn't have to label more than a few percent of the frames using the iterative method I described along with some good tools.
One thing I like is that the temporal smoothing methods and "surprise" detection go hand in hand (and the point here is that you want your model to tell you when it's surprised or uncertain so that you can label that frame). At a high level, the tracking system is propagating a distribution through time (forward and backward) over the pen location (and possibly secondary variables like the pen edge angles). When the distribution is "peaky" and matches the data for a new frame, likelihood is high and surprise and uncertainty are low. If the distribution is spread out or doesn't match the frame data, you know something is off so the system asks for help.
If you set this up well, the loop is:
Write an initial system (you already did this!)
Run it and have it show you the 100 most surprising/uncertain frames.
Label them
Run an optimizer for your model that incorporates the newly labeled data.
If you're not making progress, improve the model (should be relatively rare).
3
u/Mega_Mandarin Mar 14 '22
Thank you for such a comprehensive reply. You've certainly given me a lot to think about!
The barrier to using a supervised learning approach with labeled data is there there is so much data to label! I have ~15 hours of footage. A certain amount of manual labeling and error correction is inevitable though because whatever process I come up with won't be 100% reliable.
I have scanned images of the paper after all the characters were written. I think I will develop an objective function that compares predicted pen tip points with areas where I know ink was applied to the page. I don't need to process the videos online, so I can pose the entire video for each Chinese character as an optimization problem. I will look up kalman smoothing to make sure I don't end up reinventing the wheel.
Shadow detection is a great idea. I will look into that.