PhotonVision / photonvision

PhotonVision is the free, fast, and easy-to-use computer vision solution for the FIRST Robotics Competition.
https://photonvision.org
GNU General Public License v3.0
262 stars 166 forks source link

Support uploading and selection of custom user models #1354

Open Alextopher opened 6 days ago

Alextopher commented 6 days ago

Is your feature request related to a problem? Please describe. The existing workflow for using custom object detection models isn't well suited to the task of experimenting with custom models or sharing resources across teams. Being required to sign into the coprocessor is an unnecessary barrier for team's who are just interested in downloading & using someone else's model.

Describe the solution you'd like Add support for uploading custom models and a way to switch between models.

Describe alternatives you've considered Module selection alone would be a good start. Teams could continue to use ssh to upload and manage models but then have access to an interface to pick-and-choose the model of interest.

Additional context

mcm001 commented 6 days ago

I think the simplest, MVP implementation of this feature is a CRUD interface in our settings tab to upload arbitrary files, and a dropdown in neural network pipelines to select what file name I want to use. This covers 90% of what users actually need I think.

Alextopher commented 6 days ago

Sounds good! Tomorrow I should have the time to gauge if I'm able to make that contribution.

Alextopher commented 5 days ago

I'll take this on - but no promises on the timeline. I'm going to wait until the dependency/build issues are fixed

mcm001 commented 4 days ago

Should (?) be fixed! Note my comment for windows users needing to use the FRCK JDK