-
Notifications
You must be signed in to change notification settings - Fork 59
cscore based CameraServer #216
Comments
For reference, cscore can be found at https://github.com/wpilibsuite/cscore, and it's still undergoing active development. |
Also @PeterJohnson since you wrote cscore, if you have thoughts about this post feel free to post here too. Or if you're already going to do it (though, I suspect you're busy). |
CameraServer is in upstream WPILib now. Should we still consider keeping it in a separate package? |
I was planning on making cscore a separate package. I think CameraServer is a thin wrapper around it? |
Ah, that makes sense. Indeed it is. |
I've started doing some thoughts about this, but I spent a good chunk of time trying to see if I could easily take a Python C extension and link it to the same OpenCV that opencv-python uses. There's a variety of issues involved here, you can read it at opencv/opencv-python#22 If anyone is interested in speeding this along, translating the CameraServer from Java to Python would be a good start. Or, if you've got deep experience with python module linking and stuff, I'd love to yap about it and brainstorm some solutions. |
I'm currently working on the python translation of CameraServer. Still thinking about the underlying API. |
robotpy-cscore preview release is available, I'm thinking of hosting the core of the CameraServer stuff in that library instead of in WPILib. I think. Work started at robotpy/robotpy-cscore#5 |
This has been merged to master. |
Uh oh!
There was an error while loading. Please reload this page.
Here's how I think this will probably work:
Some unknowns that will need to be addressed (which will need to be addressed for robotpy-ctre as well):
Other things I haven't thought of yet:
if __name__ == '__main__'
block, alawpilib.run
.The text was updated successfully, but these errors were encountered: