Code Monkey home page Code Monkey logo

Comments (17)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 27, 2024
Hi,
sorry to disappoint You - but according to 
http://unicap-imaging.org/tis_devices_en.htm this camera is NOT supported by 
V4L Version 2.
Depending on the version of the camera firmware it might be possible to use the 
unicap library / API but as of now OpenPHD only supports V4L devices.
Regards,

S. Elste

Original comment by [email protected] on 6 May 2011 at 12:09

from phd2.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 27, 2024
If you are willing to be patient, I may be able to help.  It will take some 
time as I don't have access to equivalent hardware, I'll need you to do all the 
testing of the code.

There are 3 options I see:
1) write a unicap driver for openphd
2) write a unicap driver for INDI
3) write a v4l driver for the camera

3 would be best, but I have no idea how much work it would be, and would likely 
be too difficult for me to do myself without physical access to the camera.  
The other 2 options have their tradeoffs (2 would be more generally useful, but 
would come with a significant degradation in framerate).  I will do some 
investigation on the API, and see if I can come up with something.  It will 
likely take some time though.

Original comment by [email protected] on 6 May 2011 at 1:21

from phd2.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 27, 2024
I am very willing and happy to help.

I do know that the camera is 1394a and works fine with coriander.

Please let me know what I can do to help!

Mike

Original comment by [email protected] on 6 May 2011 at 2:17

from phd2.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 27, 2024
Using the unicap library as a unified entry point for V4L and IEEE1394 cameras 
is probably the best way forward - although, as Geoffrey already said, this 
will take time and patience.
I'll look into this as well.
Regards,

Steffen

Original comment by [email protected] on 7 May 2011 at 9:13

from phd2.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 27, 2024
I didn't realize libunicap supported v4l devices.  I just tried it out and it 
seems to work with my webcam, so I will take a crack at implementing support 
this weekend.

Original comment by [email protected] on 7 May 2011 at 12:58

from phd2.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 27, 2024
Hey Geoffrey that would be awesome!  Let me know how I can help.

Mike

Original comment by [email protected] on 11 May 2011 at 3:14

from phd2.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 27, 2024
I talked to Stefan, and he's going to work on it instead.  I am looking at what 
it'll take to enhance unicap to be able to fully replace v4l so we don;t need 
to continue to support both APIs

Original comment by [email protected] on 11 May 2011 at 3:19

from phd2.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 27, 2024
Hi,
i've done some initial work regarding the integration of unicap.
Would be nice if You could give it a try! Download the attached archive, 
extract it and compile it - You'll need 'libunicap' as an additional 
dependency, probably libdc1394 as well for FireWire support.
Attach the camera, start up the program, turn on logging (!!!) and click on the 
camera button - if the camera is detected You'll get a 'UNICAP camera' entry.
You won't see any image ... sorry, still some work left to do ;-)
The protocol could look something like this:

System information ...
Kernel: 2.6.32-31-generic
Version: #61-Ubuntu SMP Fri Apr 8 18:24:35 UTC 2011
Machine: i686
Probing unicap devices ...
Running unicap version 0.9.5
Device 0: Status 0
0: 'USB20 Camera     (/dev/video0)'
    0: 'BA81 ( BA81 )'
        Default: 768x576x8
        0: 160x120
        1: 320x240
        2: 640x480
        3: 1280x1024
    1: 'S920 ( S920 )'
        Default: 768x576x0
        0: 160x120
        1: 320x240
        2: 640x480
    2: 'JPEG ( JPEG )'
        Default: 768x576x0
        0: 160x120
        1: 320x240
        2: 640x480

Please send me your log - if the camera is not detected it would be nice to 
have the relevant lines of '/var/log/syslog' (driver, usb id, etc.)
Regards,

Steffen

Original comment by [email protected] on 20 May 2011 at 4:07

Attachments:

from phd2.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 27, 2024
I was able to compile the new code and run it.  However, my camera seems to 
have broken.  Unrelated to the new code, I'm sure!  :(  I'm looking into 
repairing it.  In the mean time, could I make use of a USB rebranded Logitech 
4000 with this new addition?  It doesn't seem to be recognized in PHD, but does 
work in the OS, Ubuntu 10.04.

Thanks so much for the addtion!

Mike

Original comment by [email protected] on 24 May 2011 at 4:11

from phd2.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 27, 2024
Hi Mike,
i'm not sure about the Logitech camera - could You post the USB vendor and 
product id, please?
If the camera works with capture programs like Cheese e.g. i think it should be 
possible to get it working in PHD.
But actual image/frame acquisition is not yet implemented for the unicap 
library - i hope to get it done RSN.
Cheers,

Steffen

Original comment by [email protected] on 25 May 2011 at 6:09

from phd2.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 27, 2024

Original comment by [email protected] on 19 Jun 2011 at 1:08

  • Changed state: Started

from phd2.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 27, 2024
I've had no luck fixing my camera.  I've considered purchasing another and in 
the mean time have looked at using the logitech one which doesn't seem to work 
in the fix issued for this thread.  Tell me what info you need, lsusb etc...

Mike

Original comment by [email protected] on 19 Jun 2011 at 1:12

from phd2.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 27, 2024
when you say 'it doesn't seem to be recognized by PHD' you mean using the v4l 
drivers?
do you have /dev/video or /dev/video1?
The v4l drivers should work fine if the camera is supported by other apps.

Original comment by [email protected] on 19 Jun 2011 at 2:48

from phd2.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 27, 2024
Too bad I didn't read this earlier. I have a unicap driver I used with a DMK21 
but it's quite unpolished (I think it only works with my cam :-). I'll clean it 
up and send upstream soon.

Original comment by [email protected] on 6 May 2012 at 7:01

from phd2.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 27, 2024
That's awesome.  I have a brand new, DBK21AU618 I'd love to try out.
Did you use this guide:
http://www.unicap-imaging.com/tis_devices_en.htm

Thanks,

Mike

Original comment by [email protected] on 6 May 2012 at 1:33

from phd2.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 27, 2024
I don't really remember, this was almost 2 years ago. Could you try out this 
patch ?

Original comment by [email protected] on 8 May 2012 at 5:04

Attachments:

from phd2.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 27, 2024
Given all the changes for phd2, I'm marking all PHD1 unowned bugs as "WontFix". 
If somebody objects, I can undo it.

Original comment by [email protected] on 30 Aug 2013 at 12:47

  • Changed state: WontFix

from phd2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.