How to connect NIKON DSLR camera to matlab?

hi, i have nikon D90 camera and i would like to connect it with matlab for doing live video streaming. But matlab doesn't detect the camera. The hardware browser of image acquisition tool doesn't show the device name. what should i do.? pls help out.

 Accepted Answer

The Nikon D90 is not designed for video streaming.
I found a software product that claims to be able to handle it; see http://sparkosoft.com/how-to-use-dslr-as-webcam . I have no information on how well it works.
Other than that, the solutions I find documented involve using the HDMI output, which works at the same resolution as the LCD display. One product specifically designed for such a use is http://www.dvestore.com/blog/review-of-the-livestream-broadcaster-with-nikon-d800/
The D90 is not compatible with either of the Nikon wireless remote accessories, the WU-1A or WU-1B; see http://imaging.nikon.com/lineup/acil/accessories/wu-1b/ and notice that those specifically say that you cannot use them for movies (only for stills)
Some of the newer Nikon cameras offer built-in Bluetooth sharing using what Nikon refers to as "Snapbridge"; see https://www.nikonusa.com/en/nikon-products/snapbridge-app.page#connected-cameras. That appears to offer remote control better than the WU-1A/WU-1B but it is not clear to me that it supports video streaming.
====
Side note: for information about using Cannon or Sony cameras for live streaming see https://www.mathworks.com/matlabcentral/answers/276636-image-acquisition-toolbox-supported-dslr-cameras#answer_216019

5 Comments

But i can stream the realtime video using the camera control pro software. Also its working with sparkocam.
After your mention of Camera Control Pro 2, I looked and found that LiveView is supported through USB for the D90, using the Nikon SDK; the information I had been finding on the Nikon site indicated that it was not possible. I also find several other products, such as controlmynikon (a low cost commercial package) and several free packages that support the D90 for this feature.
LiveView is the same resolution as the LCD display. The Nikon software does not allow you to save (or divert) the live stream; controlmynikon does not appear to permit that either.
I find that digicamcontrol.com is free open-source software that can control your D90. You could see if it works for you, and if not then you could modify the C++ source to be able to pass the live data on to MATLAB somehow.
sir, this camera works with digicamcontrol. But actually what i want is connecting nickon D90 camera to matlab and to stream realitme video
I have not downloaded digicamcontrol and tried it so I do not know what features are available. If it does not currently offer a way to stream then you can modify the C++ code to do whatever you want, including possibly adding ActiveX controls, or adding new calls that fetch a frame, or Create a Custom Adaptor
I doubt you will find any ready-made software to do what you want, but digicamcontrol is probably your best bet for being able to create the software you need.

Sign in to comment.

More Answers (1)

"DSLR Camera Controller (wrapper for digiCamControl)" on MatLab central will let you control camera settings, capture and download photos, but i am not sure about video:
To work you will also need to install and and run digiCamControl v2.0.69+, which is free and open source but only runs on windows.

Asked:

on 21 Aug 2016

Answered:

on 24 Mar 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!