|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Accessing .mjpg stream from camera to process
Vision programming. The entire thing is really buggy with next to no documentation whatsoever and the only sample code doesn't even process an image.
Thanks for your JavaCV link but the only thing I'm looking for is to display the image on the driver station. I ended up following this code to get some byte arrays out of a mjpeg. |
|
#2
|
|||
|
|||
|
Re: Accessing .mjpg stream from camera to process
yeah, exactly that! Also I do not think there is a support for the axis camera series, just Usb webcams
|
|
#3
|
||||
|
||||
|
Re: Accessing .mjpg stream from camera to process
AxisCamera.java?
|
|
#4
|
|||||
|
|||||
|
Re: Accessing .mjpg stream from camera to process
Have you had any success with actually connecting to the camera from the robot?
|
|
#5
|
|||
|
|||
|
Re: Accessing .mjpg stream from camera to process
That class was made for last year's vision system. Also I have tested it this year and does not work.
|
|
#6
|
||||
|
||||
|
Re: Accessing .mjpg stream from camera to process
You can use OpenCV VideoCapture object. You could also edit the smart dashboard camera view.
|
|
#7
|
||||
|
||||
|
Re: Accessing .mjpg stream from camera to process
I also confirm that it works, though CameraServer has a 2-3sec lag compared to SmartDashboard's direct connection which gets a ~100ms lag
|
|
#8
|
|||
|
|||
|
Re: Accessing .mjpg stream from camera to process
what Axis camera? I used an axis m1013 and it did not, maybe I will revisit it.
|
|
#9
|
|||||
|
|||||
|
Re: Accessing .mjpg stream from camera to process
We were finally able to get it running, but not with the AxisCamera. The robotRio sees the IP camera as cam0, so I was able to use it just like the USB cameras. Thank for the help.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|