USA
Asked — Edited

Ez-Bv4 And Camera With Surface Pro

I'd like to use the 160x120 resolution in my project running ARC (the latest version) for Windows on a Windows 10 Surface Pro 2 but I get the following error:

11/3/2018 11:37:43 AM - Error Camera.SetCaptureImage: AForge.Imaging.UnsupportedImageFormatException: Source pixel format is not supported by the filter. at AForge.Imaging.Filters.BaseTransformationFilter.CheckSourceFormat(PixelFormat pixelFormat) at AForge.Imaging.Filters.BaseTransformationFilter.Apply(BitmapData imageData) at AForge.Imaging.Filters.BaseTransformationFilter.Apply(Bitmap image) at EZ_B.Camera.eihiq5ToKN(Object )

It runs at 320x240 okay but uses a lot of CPU and the image tends to hang or stutter and falls behind when face tracking. Anyone else have issues with the surface pro? The exact same builder file works fine on my laptop (with Windows 7). Thanks:)


ARC Pro

Upgrade to ARC Pro

With Synthiam ARC Pro, you're not just programming a robot; you're shaping the future of automation, one innovative idea at a time.

Belgium
#97  

Quote:

I understand the connections from the EZB to the serial adapter (pictured on the left?) but what happens after that? What are the two adapters on the right in the picture?

They are all different "FTDI" adapters that do the same thing. You only need one and you just plug it in a USB port, done.

Quote:

If I use a USB splitter in the single port on the Surface (one for the EZB and one for the camera), will the EZB and camera use the same Com address (Com 6 in the article)?

No. USB and com ports are very different things. The com port numbering is done in software and it doesnt matter how you plug the USB devices, directly or using a hub. And you wrote earlier about needing a powered hub elsewhere, I doubt thats really needed here.

#98  

Thanks vertigo. And the USB cable with the four female connectors on one end? I don't see that referred to in the article. As always, thanks for your help, dude.:)

#99  

Quote:

@Mac, I have left him running a full day with no disconnect. The only time i have gotten a disconnect (after I got my original issue worked through of old and outdated router and a weak signal) is when I send a improper command to a device through the Uart port or don't have the Uart port initiated before sending a command through it.

@Dave And when it disconnects after an improper command, do you have to power cycle the EZB(s) before you can hook up again?

#100  

@mac, yes after I get disconnected because of anything not right with the command going through the Uart or the device on the other side I do have to power cycle to get the ezb to function again.

Sorry, I've never used an AI.

#101  

@Dave Yeah man, after giving it more thought, you would lose consistency in the voice. Unless we could convince your voice actor to voice a chatbot:D

So, the EZB disconnected again today, after almost exactly 12 hours; which seems to be the magic number of hours. The camera was still connected, or at I thought it was. But checking the debug showed the camera was disconnecting and reconnecting over an over, due to Richard's code. It would appear that the camera started this dance before the EZB disconnected.

Still waiting on the new hardware.

Belgium
#102  

Quote:

Thanks vertigo. And the USB cable with the four female connectors on one end? I don't see that referred to in the article.

Its all the same thing, just with a plastic enclosure and female pins on a wire rather than male pins on the PCB. All of these devices have a USB connector on one end (one that plugs in a PC or one that needs a USB cable), and 4/6 pins for serial on the other end.

#103  

Ah, okay vertigo, I get it now. Like three different "kits" in the picture. My new hardware shipped yesterday, yay! But your $10 cameras are out of stock or I would have grabbed a backup.