Camera Capture in MC67 not possible due to possible bug in library Symbol.Imaging2 for EMDK 2.9 for .NET

M Magnus Wallstrom 2 years 11 months ago
2 1 0

I believe that I have come across a bug in the library Symbol.Imaging2 that resides in EMDK 2.9 for .NET.
An application that I'm working with have a camera capture function where we use the library Symbol.Imaging2 for this purpose.
However, it doesn't seem to work with the MC67.
 
I think that I have tracked the problem down to the enum called Resolutions.
 
    public enum Resolutions
    {
        UNKNOWN = -1,
        R_1024x768 = 0,
        R_800x600 = 1,
        R_752x480 = 2,
        R_640x480 = 3,
        R_1280x1024 = 4,
        R_160x120 = 5,
        R_320x240 = 6,
        R_160x120_QQVGA = 7,
        R_80x60 = 8,
        R_352x288 = 9,
        R_176x144 = 10,
        R_88x72 = 11,
        R_44x36 = 12,
        R_128x96 = 13,
        R_1280x960 = 14,
        R_1600x1200 = 15,
        R_2048x1536 = 16,
        R_2240x1680 = 17,
        R_2560x1920 = 18,
        R_3032x2008 = 19
    }
 
When I debug the application with the MC67 the resolution that the device has is 21. My application crashes since 21 is not available in the list of valid values in the Resolutions-enum. 
 
Anyone out there can confirm or reject my theory? If it is a bug in the EMDK it would be very much appreciated to have it resolved.
 
Regards
Magnus Wallström

Please register or login to post a reply

1 Replies

V Vedsatx Saddvv

Wondering if you noticed this note in the EMDK release notes.  Do you have this version of the OS (or higher)?

https://www.zebra.com/content/dam/zebra_new_ia/en-us/software/developer…%…
Beginning with MC67 BSP v03.46.39, the support for color camera has been provided through the Imager APIs distributed with EMDK. However on the older versions of MC67 BSPs, you must continue to use Microsoft’s DirectShow for capturing images. The Imager APIs distributed with EMDK do not support color camera on the older BSPs.

CONTACT
Can’t find what you’re looking for?