Results 1 to 7 of 7

Thread: Using DFK ECU010-M12 in Linux

  1. #1
    Join Date
    Dec 2014
    Posts
    16

    Using DFK ECU010-M12 in Linux

    Hello,
    Thank you for the previous help on question, http://www.theimagingsourceforums.co...driver-problem.
    I have received the replacement, also ordered one more and both are working great!

    What is the correct way to use this camera on linux?

    Connecting the camera, dmesg output:
    [ 67.173255] uvcvideo 1-1:1.0: usb_probe_interface
    [ 67.173284] uvcvideo 1-1:1.0: usb_probe_interface - got id
    [ 67.173422] uvcvideo: Found UVC 1.00 device DFK ECU010-M12 (199e:0109)
    [ 67.178417] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.
    [ 67.181422] input: DFK ECU010-M12 as /devices/ocp.2/47400000.usb/musb-hdrc.1.auto/usb1/1-1/1-1:1.0/input/input3
    [ 67.184527] usbcore: registered new interface driver uvcvideo
    [ 67.184547] USB Video Class driver (1.1.1)
    [ 69.205652] usb 1-1: usb auto-suspend, wakeup 0
    [ 69.219051] hub 1-0:1.0: hub_suspend
    [ 69.219087] usb usb1: bus auto-suspend, wakeup 1

    Hence the camera is detected correctly and is seen on /dev/video0, and the following command:
    mplayer tv:// -tv driver=v4l2:device=/dev/video0
    Works but the quality of image is very poor, I assume this is because of the YUV format not being compatible in mplayer?
    Photo 24-03-15 12 45 17 pm.jpgPhoto 24-03-15 12 45 17 pm.jpg
    The mplayer output is attached as an image.

    How can I set the correct format I am interested in?

    Secondly, Using OpenCV to read video:
    On opening the capture I get:
    HIGHGUI ERROR: V4L/V4L2: VIDIOC_S_CROP

    After which I keep getting following errors on reading frames:
    Corrupt JPEG data: 5 extraneous bytes before marker 0xd9
    Corrupt JPEG data: 6 extraneous bytes before marker 0xd9
    Corrupt JPEG data: 4 extraneous bytes before marker 0xd9
    Corrupt JPEG data: 4 extraneous bytes before marker 0xd9

    This seems to also be a problem with the format of read frames.

    Third thing, https://github.com/TheImagingSource/...th-USB-Cameras the following guide, euvccam-fw tool is not able to detect the camera correctly.

    Thank You.

  2. #2
    Join Date
    Dec 2014
    Posts
    16

    Re: Using DFK ECU010-M12 in Linux

    One more issue I am facing is the following imaging dots.jpg

    The attached image shows a bunch of small dots, which are maybe dust on lens or sensor itself? Can you suggest how I can get rid of them?

  3. #3
    Join Date
    Dec 2014
    Posts
    16

    Re: Using DFK ECU010-M12 in Linux

    One more issue I am facing is the following imaging dots.jpg

    The attached image shows a bunch of small dots, which are maybe dust on lens or sensor itself? Can you suggest how I can get rid of them?

  4. #4
    Join Date
    Jan 2003
    Location
    Bremen, Germany
    Posts
    4,898

    Re: Using DFK ECU010-M12 in Linux

    The dust can be on the sensor. You can try to clean it carefully

    Please try the camera with guvcview. This allows to change the video formats in a simple way. I am not experiences with mplayer, therefore I suggest to search in the mplayer help files or forums for a way to set the video format.
    Best regards
    Stefan
    IC Imaging Control Support

  5. #5
    Join Date
    Jan 2003
    Location
    Bremen, Germany
    Posts
    4,898

    Re: Using DFK ECU010-M12 in Linux

    The dust can be on the sensor. You can try to clean it carefully

    Please try the camera with guvcview. This allows to change the video formats in a simple way. I am not experiences with mplayer, therefore I suggest to search in the mplayer help files or forums for a way to set the video format.
    Best regards
    Stefan
    IC Imaging Control Support

  6. #6
    Join Date
    Dec 2014
    Posts
    16

    Re: Using DFK ECU010-M12 in Linux

    Quote Originally Posted by Stefan Geissler View Post
    The dust can be on the sensor. You can try to clean it carefully

    Please try the camera with guvcview. This allows to change the video formats in a simple way. I am not experiences with mplayer, therefore I suggest to search in the mplayer help files or forums for a way to set the video format.
    Thank you will try the same, Any advice on how to do it in Opencv or if it is possible? I realize both use the driver v4l2.

  7. #7
    Join Date
    Jan 2003
    Location
    Bremen, Germany
    Posts
    4,898

    Re: Using DFK ECU010-M12 in Linux

    You can combine the V4L2 image capture and OpenCV image processing.
    Best regards
    Stefan
    IC Imaging Control Support

Similar Threads

  1. Blank Frames in IC Capture using DFK ECU010-M12 driver problem
    By aakashthakkar in forum Hardware and Driver
    Replies: 9
    Last Post: December 18, 2014, 16:32:49
  2. TIS cameras under Linux
    By dejav in forum Hardware and Driver
    Replies: 6
    Last Post: October 1, 2014, 07:52:06
  3. DFG/MC4 under linux
    By Unregistered in forum IC Imaging Control C++ Class Library
    Replies: 2
    Last Post: October 6, 2005, 08:17:12
  4. Linux drivers
    By Unregistered in forum IC Imaging Control C++ Class Library
    Replies: 1
    Last Post: November 30, 2004, 08:08:05
  5. Any support for Linux?
    By Camelot in forum IC Imaging Control C++ Class Library
    Replies: 1
    Last Post: June 28, 2004, 07:48:33

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •