Access to higher resolutions in 48MP USB camera
    8 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
I am using a 48MP USB camera - this one specifically: https://www.elpcctv.com/elp-48mp-high-resolution-usb-camera-with-varifocal-cs-3610mm-lens-p-443.html 
I am using a Macbook Apple M2 (Sequoia 15.6) and thus using the 'macvideo' Adaptor ... the problem is that although this is a 48MP camera - so a max resolution of 8000x6000 at low FPS, the highest res returned is 3840x2160 (see below). I guess this is because this is a "generic" adaptor?? Is there any way in which I can tap into all of the possible resolutions of this camera using matlab? (I note that the manufacturer says the high res are availabile via a different codec - MJPEG vs YUY2 (8000x6000 @ 5fps MJPEG / 4000x3000 @ 12fps MJPEG
3840x2160 @ 30fps MJPEG) could this be the main issue?
Any pointers greatly appreciated ... 
Thanks
>> imaqhwinfo('macvideo',1)
ans = 
             DefaultFormat: 'YCbCr422_1920x1080'
       DeviceFileSupported: 0
                DeviceName: '48MP USB Camera'
                  DeviceID: 1
     VideoInputConstructor: 'videoinput('macvideo', 1)'
    VideoDeviceConstructor: 'imaq.VideoDevice('macvideo', 1)'
          SupportedFormats: {'YCbCr422_1280x720'  'YCbCr422_1920x1080'  'YCbCr422_192x144'  'YCbCr422_320x240'  'YCbCr422_352x288'  'YCbCr422_3840x2160'  'YCbCr422_480x360'  'YCbCr422_960x540'}
>> 
3 comentarios
  dpb
      
      
 el 7 de Ag. de 2025
				
      Editada: dpb
      
      
 el 7 de Ag. de 2025
  
			Not unless you can talk to the camera over the USB port with some command set to control it and return data from it.
Where did the "macvideo" adapter come from; is it from Mathworks with the (I guess) Vision Toolbox which I don't have so know nuthink! about it)?  If you could get that source, then it might be feasible to add another resolution mode; I wouldn't say it would be easy.  You'd also have to have the vendor SDK documentation to have any klew about what its internal commands are.
Respuestas (2)
  Christopher
 el 19 de Ag. de 2025
        3 comentarios
  dpb
      
      
 el 20 de Ag. de 2025
				Any chance there's a users group for the vendor's cameras that might be of help?
Otherwise, it would appear your choices are indeed very limited with MATLAB and Mac; I notice the vendor recommends some Mac app with the camera, but that would then entail either figuring out some way to "drive" that app programmatically or a pass-thru scenario that undoubtedly is not useful.
Seems a big hole in Mathworks support for Mac...
  dpb
      
      
 el 7 de Ag. de 2025
        I'd say that's your chance...
6 comentarios
  dpb
      
      
 el 12 de Ag. de 2025
				OK, thanks for the clarification; just checking to be sure you had recognized that are supposed to be able to control the camera that way.  Any chance you have an earlier MATLAB release still installed to see if this also has something to do with the new release?
Submit this to Mathworks as an official support request/bug at <Product Support Page>, unless the implementation of the interface by the vendor is non-compliant with the Standard, this surely seems to be an issue.
Ver también
Categorías
				Más información sobre MATLAB Support Package for IP Cameras en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

