SmartDashboard Vision Processing and Camera Edits

Hello all,

I’m a freshman programmer in need of help for editing the WPICameraExtension for the SmartDashboard so I can draw lines on my personalized Camera widget on the SmartDashboard. How would this be done?

I saw some things with creating lines in Java applets, but the typical public void paint(Graphics g) methods they create are never referenced in main (string [args]), so I don’t quite understand how to draw lines effectively, and I tried what I saw online but it did not work. Does anyone have any advice for this who have perhaps done this in the past?

Thank you! Any help will be greatly appreciated!!!
:smiley: :smiley: :smiley:

And is there a way to simply edit the Simple Camera Viewer Extension that is built in and just add a few lines on it? And how exactly would I add those lines? I tried using the graphics stuff from java.awt.* but I’m not quite sure how to implement it!

Thank you so much! Any help will be greatly appreciated! :slight_smile: