Cant configure one model for the Allied Vision Camera from Image Acquisition App
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have two cameras slighlty different models. One that I use for debugging. While the other is installed into a system. Following the instructions on allied vision website. I was able to get the spare camera to work. However, when I load the other from image aquisition, I dont get a tool bar , check the top of the screengrab, or an ability to export the code. Matlab sees the camera in the hardware list but thats it.
I tried using the previous code I created which works with the spare camera and there is no image generated. Anyone run into this before?
Allied Vision Matlab instructions: https://cdn.alliedvision.com/fileadmin/content/documents/products/software/software/Vimba/appnote/MATLAB_Getting-Started_AppNote.pdf
%%%sample code for camera that works
v = videoinput("gentl", 1, "Mono8");
Configure Device-Specific Properties
Configure properties that are specific to this device.
src = getselectedsource(v);
src.ExposureTime = 5.001217e+03;
Capture Image
Capture a single frame.
snapshot1 = getsnapshot(v);
View Snapshot
Display the captured image.
f = figure;
ax = axes(f);
imshow(snapshot1, "Parent", ax);
Clean Up
Delete the videoinput object and clear variables from the workspace.
delete(v)
clear src v
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface) finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!