Has anyone gotten vision working on the TVM920? I'm not able to open the cameras with any of the drivers. The cameras are analog with an analog mux prior to the capture/encode card. So, there's just one stream of video coming and you need to toggle the mux to switch between down looking and up looking cameras.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/5bd6c0af-7a4c-4084-b50f-3fc9be5d2e51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/7269a41e-2ec8-4360-aaa5-ecc2f254212b%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/a8351e2e-daf5-4d98-8a8d-70b23351403b%40googlegroups.com.
Glen,
Thanks for posting that info. So, just to be clear, you have not tried (or succeeded, possibly) to use OpenPnP to capture video directly from the TVM's built in capture hardware?Jason
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/89e4a8f2-4d8c-447f-aebb-96404c73fb76%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+unsubscribe@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/51a661e9-5fdc-4c60-b07d-77fb60aa563b%40googlegroups.com.
Colour cameras can let you use colour filters to remove things like a green background to get better contrast on the parts.. if its just a black background in those machines though, who cares :)
On 5 January 2017 at 20:44, Glen English <gleneng...@gmail.com> wrote:
I had a bit of a go getting the internal SDK3000 board on the internal Atom PC to workno joy in getting OPNP to see it... Probably workable if you are budget limited , for me, too much f**king around.Hmmm the less I have to do with that little pc the better i think, IE dump Chinese windows (although I have changed to locale to USA)Conversely, I plugged in a couple of USB cameras and it all just worked immediately, easy. Like too easy...the mounts for the internal camera are the same as much ELP brand USB cameras.. which is handy.Remember- get a black & white (monochrome) camera if you can, otherwise >half the pixels are wasted with the Bayer Filter (thanks Pete!) .
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+unsubscribe@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/c60fc5b8-5cca-4f63-ba13-7795dc70e181%40googlegroups.com.
It works using videoinputlib too without code change. Inside video input.h comments, there is a small program that show how to use videoinput with opencv. As javacv is poorly documented, I suggest having first working C program and then convert it to javacv converting then the final result to mat from IpImage. Its however possible to open the 1400 camera on opencv and use external program to switch AMC.crossswitch and format from NTSC to pal_b , or doing this before opening the camera.
Its unknown if other settings works under opencv control, like brightness, ... or if external program need take care of it.
As you probably have a script for changing AMC.crossswitch for user control, automatic switching is inside onCameraBeforeCapture script depending on up looking and down looking setting on camera and remembered state.
Further you need aliasCamera that proxy another camera in order opencv recognize the same camera as top and bot camera.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/CAJGcfUjaXEngyUYMBGVEfDaSFRAT0wf5hbMgyde9pu0w05pDyg%40mail.gmail.com.
Given that in YUY2 (uncompressed mode) for the ELP USB2 cameras, at 1MP, you are only getting ~ 7-9 fps, does OpenCV just block until it gets a new frame ? or would it use whatever was the latest one IE that just came in, but was captured 150mS ago ?
Has anyone gotten vision working on the TVM920? I'm not able to open the cameras with any of the drivers. The cameras are analog with an analog mux prior to the capture/encode card. So, there's just one stream of video coming and you need to toggle the mux to switch between down looking and up looking cameras.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/1600c774-13c8-4a31-a27e-baf0c080dee5%40googlegroups.com.
You must use ffmpeg to switch crossbar, not taking image. Then with utility like splitcam or any other tool that from the single CAM making 3 cameras, the orginal and two TEE filter of it.
On opencv dont close camera, one camera just display the wrong thing, because both cameras always display the same image where the crossswitch dictate up or down camera.
Hope this helps. Possible alternative is creating aliasCamera that proxy annother camera,
technically both solutions works.
Videoinputlib was tested?
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/3bca411c-bc17-4804-b9ae-34cff4c2ed23%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/a4338c31-a70c-491a-80b1-01456f00f6f0%40googlegroups.com.
In order for FFmpeg to access the device and change the crossbar / take a picture, the driver has to be released by OpenPNP. It doesn't look like this function is available in the Camera service interface.
by "update the system" I mean capture an image and update the live view with a current capture. I can't seem to find any button or menu to do this manually with ImageCamera.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/df56960f-0173-4cbb-a94c-b52da641dd1c%40googlegroups.com.
As a temporary hack, you can call OpenCvCamera.setDeviceIndex(some_large_number) to shut down the camera and then call setDeviceIndex(the_original_value) to reopen it. This is how the configuration pane handles updating the device.
New frames are sent to the camera subsystem automatically by the camera implementations. There is no way to send a new frame manually. It sounds like what you are trying to do is change the image that ImageCamera shows - to do that you should use ImageCamera.setSourceUri(). Look at the source to see how to use it.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/001821e1-4d81-4031-86b3-4eead9b6d5ac%40googlegroups.com.
Try this: If you switch Id, as example having two opencv cameras with id 2000 and 2001, respective up and down camera.
Now you take a image with ffmpeg and switching crossbar to up camera using dshow.
After that assign camera Id 1400 if camera 0 to upcamera. If you have set format to pal-b too it should work. For switching to down camera, restore Id 2000 to upcamera , invoke ffmpeg to switch crossbar and take picture, configure id 1400 to downcam, wait the 8 seconds, return.
If downcam or upcam already have Id 1400, where the script should switch to down/up-cam , return immediately as its already working.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/87cab7d7-bdc9-469b-b457-953c0e9172b2%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/df97f27f-a76d-49d4-a2c5-44b883df77b5%40googlegroups.com.