<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Hi Colin, in Edge Software Catalog</title>
    <link>https://community.intel.com/t5/Edge-Software-Catalog/EIS-Balser-isseus/m-p/1180005#M22</link>
    <description>&lt;P style="margin-left:0in; margin-right:0in"&gt;Hi Colin,&lt;/P&gt;&lt;P style="margin-left:0in; margin-right:0in"&gt;Do you mean there is a 7-sec+ delay for all three methods? When&amp;nbsp;do you see this delay, the time between a frame is taken and it’s displayed (perhaps you can point the camera at a watch or clock to tell), or at camera initialization?&lt;/P&gt;&lt;P style="margin-left:0in; margin-right:0in"&gt;In the gst_pylonsrc_set_property function in gstpylonsrc.c, if you change g_value_get_float with g_value_get_double, then this issue can be worked around and you can set the exposure time in the ETCD UI.&lt;/P&gt;&lt;P style="margin-left:0in; margin-right:0in"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; case PROP_EXPOSUREUSB:&lt;/P&gt;&lt;P style="margin-left:0in; margin-right:0in"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pylonsrc-&amp;gt;exposureUsb = g_value_get_float(value);&lt;/P&gt;&lt;P style="margin-left:0in; margin-right:0in"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;/P&gt;&lt;P style="margin-left:0in; margin-right:0in"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-left:0in; margin-right:0in"&gt;Regards,&lt;/P&gt;&lt;P style="margin-left:0in; margin-right:0in"&gt;Jia-Shing&lt;/P&gt;</description>
    <pubDate>Wed, 20 May 2020 08:19:56 GMT</pubDate>
    <dc:creator>Jia-Shing_W_Intel</dc:creator>
    <dc:date>2020-05-20T08:19:56Z</dc:date>
    <item>
      <title>EIS_Balser_isseus</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/EIS-Balser-isseus/m-p/1180002#M19</link>
      <description>&lt;P style="margin-left: 0cm; margin-right: 0cm;"&gt;Hi&amp;nbsp; Jia-shing&lt;/P&gt;
&lt;P style="margin-left: 0cm; margin-right: 0cm;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin-left: 0cm; margin-right: 0cm;"&gt;We want to connect EIS with BASLER(acA2040-120um) camera and we encounter some issues.&lt;/P&gt;
&lt;P style="margin-left: 0cm; margin-right: 0cm;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin-left: 0cm; margin-right: 0cm;"&gt;Attached images are the issues.&lt;/P&gt;
&lt;P style="margin-left: 0cm; margin-right: 0cm;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin-left: 0cm; margin-right: 0cm;"&gt;Thanks.&lt;/P&gt;
&lt;P style="margin-left: 0cm; margin-right: 0cm;"&gt;Colin&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 11:22:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/EIS-Balser-isseus/m-p/1180002#M19</guid>
      <dc:creator>Huang__Colin</dc:creator>
      <dc:date>2021-05-19T11:22:57Z</dc:date>
    </item>
    <item>
      <title>I'll share with you the steps</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/EIS-Balser-isseus/m-p/1180003#M20</link>
      <description>&lt;P&gt;I'll share with you the steps I took to remotely debug this issue on the customer device and offer some tips.&lt;/P&gt;&lt;P&gt;First of all, a bit of additional information about this issue. Actually, this Basler camera in use was a USB one, so we asked the customer to replace "exposureGigE=3250" with "exposureUsb=3250" in the ETCD settings to reflect the fact. With this, the issue persisted...&lt;/P&gt;&lt;P&gt;By looking at the logs, for example, the gstreamer one below, they don't really tell us much.&lt;/P&gt;&lt;P&gt;Attaching to ia_video_ingestion&lt;BR /&gt;&amp;#27;[36mia_video_ingestion &amp;nbsp; &amp;nbsp;|&amp;#27;[0m [setupvars.sh] OpenVINO environment initialized&lt;BR /&gt;&amp;#27;[36mia_video_ingestion &amp;nbsp; &amp;nbsp;|&amp;#27;[0m /EIS/fpga_env.sh: line 30: /opt/altera/aocl-pro-rte/aclrte-linux64/init_opencl.sh: No such file or directory&lt;BR /&gt;&amp;#27;[36mia_video_ingestion &amp;nbsp; &amp;nbsp;|&amp;#27;[0m [setupvars.sh] OpenVINO environment initialized&lt;BR /&gt;&amp;#27;[36mia_video_ingestion &amp;nbsp; &amp;nbsp;|&amp;#27;[0m I0505 13:08:47.096662 &amp;nbsp; &amp;nbsp; &amp;nbsp;18 init.go:32] initializing configuration manager...&lt;BR /&gt;&amp;#27;[36mia_video_ingestion &amp;nbsp; &amp;nbsp;|&amp;#27;[0m I0505 13:08:47.096764 &amp;nbsp; &amp;nbsp; &amp;nbsp;18 util.go:30] Waiting for Port: 2379 on hostname: localhost&amp;nbsp;&lt;BR /&gt;&amp;#27;[36mia_video_ingestion &amp;nbsp; &amp;nbsp;|&amp;#27;[0m I0505 13:08:47.098459 &amp;nbsp; &amp;nbsp; &amp;nbsp;18 util.go:34] Port: 2379 on hostname: localhost is up.&lt;BR /&gt;&amp;#27;[36mia_video_ingestion &amp;nbsp; &amp;nbsp;|&amp;#27;[0m I0505 13:08:47.101837 &amp;nbsp; &amp;nbsp; &amp;nbsp;18 cgo.go:40] Register user callback&lt;BR /&gt;&amp;#27;[36mia_video_ingestion &amp;nbsp; &amp;nbsp;|&amp;#27;[0m I0505 13:08:47.101860 &amp;nbsp; &amp;nbsp; &amp;nbsp;18 cgo.go:138] Register the key: /VideoIngestion/config for watch key&lt;BR /&gt;&amp;#27;[36mia_video_ingestion &amp;nbsp; &amp;nbsp;|&amp;#27;[0m I0505 13:08:47.101871 &amp;nbsp; &amp;nbsp; &amp;nbsp;18 EtcdClient.go:153] Watching on key: /VideoIngestion/config&lt;BR /&gt;&amp;#27;[36mia_video_ingestion &amp;nbsp; &amp;nbsp;|&amp;#27;[0m [Tue May &amp;nbsp;5 13:08:47 2020] &amp;nbsp;WARN:get_config_value:138: JSON does not contain key: queue_size&lt;BR /&gt;&amp;#27;[36mia_video_ingestion &amp;nbsp; &amp;nbsp;|&amp;#27;[0m [Tue May &amp;nbsp;5 13:08:47 2020] &amp;nbsp;INFO:VideoIngestion:131: "queue_size" key missing, so using default queue size: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10&lt;BR /&gt;&amp;#27;[36mia_video_ingestion &amp;nbsp; &amp;nbsp;|&amp;#27;[0m [Tue May &amp;nbsp;5 13:08:47 2020] &amp;nbsp;WARN:get_config_value:138: JSON does not contain key: udfs&lt;BR /&gt;&amp;#27;[36mia_video_ingestion &amp;nbsp; &amp;nbsp;|&amp;#27;[0m [Tue May &amp;nbsp;5 13:08:47 2020] &amp;nbsp;INFO:VideoIngestion:157: "udfs" key doesn't exist, so udf output queue is same as &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; udf input queue!!&lt;BR /&gt;&amp;#27;[36mia_video_ingestion &amp;nbsp; &amp;nbsp;|&amp;#27;[0m [Tue May &amp;nbsp;5 13:08:47 2020] &amp;nbsp;INFO:GstreamerIngestor:59: cvt_pipeline initialized&lt;BR /&gt;&amp;#27;[36mia_video_ingestion &amp;nbsp; &amp;nbsp;|&amp;#27;[0m [Tue May &amp;nbsp;5 13:08:47 2020] &amp;nbsp;INFO:GstreamerIngestor:71: Pipeline: pylonsrc imageformat=yuv422 exposureGigE=3250 interpacketdelay=1500 ! video/x-raw,format=YUY2 ! videoconvert ! video/x-raw,format=BGR ! appsink name="sink"&lt;BR /&gt;&amp;#27;[36mia_video_ingestion &amp;nbsp; &amp;nbsp;|&amp;#27;[0m [Tue May &amp;nbsp;5 13:08:47 2020] &amp;nbsp;WARN:get_config_value:138: JSON does not contain key: poll_interval&lt;BR /&gt;&amp;#27;[36mia_video_ingestion &amp;nbsp; &amp;nbsp;|&amp;#27;[0m [Tue May &amp;nbsp;5 13:08:47 2020] &amp;nbsp;INFO:GstreamerIngestor:84: Poll interval: 0.000000&lt;BR /&gt;&amp;#27;[36mia_video_ingestion &amp;nbsp; &amp;nbsp;|&amp;#27;[0m&amp;nbsp;&lt;BR /&gt;&amp;#27;[36mia_video_ingestion &amp;nbsp; &amp;nbsp;|&amp;#27;[0m (process:18): &lt;STRONG&gt;GLib-CRITICAL&lt;/STRONG&gt; **: 13:08:47.102: g_path_get_basename: assertion 'file_name != NULL' failed&lt;BR /&gt;&amp;#27;[36mia_video_ingestion &amp;nbsp; &amp;nbsp;|&amp;#27;[0m [Tue May &amp;nbsp;5 13:08:47 2020] &amp;nbsp;WARN:get_config_value:138: JSON does not contain key: zmq_connect_retries&lt;BR /&gt;&amp;#27;[36mia_video_ingestion &amp;nbsp; &amp;nbsp;|&amp;#27;[0m [Tue May &amp;nbsp;5 13:08:47 2020] &amp;nbsp;WARN:get_config_value:138: JSON does not contain key: camera1_stream&lt;BR /&gt;&amp;#27;[36mia_video_ingestion &amp;nbsp; &amp;nbsp;|&amp;#27;[0m [Tue May &amp;nbsp;5 13:08:47 2020] &amp;nbsp;INFO:start:205: Publisher thread started...&lt;BR /&gt;&amp;#27;[36mia_video_ingestion &amp;nbsp; &amp;nbsp;|&amp;#27;[0m [Tue May &amp;nbsp;5 13:08:47 2020] &amp;nbsp;WARN:start:322: Start attempted after stop or after start&lt;BR /&gt;&amp;#27;[36mia_video_ingestion &amp;nbsp; &amp;nbsp;|&amp;#27;[0m [Tue May &amp;nbsp;5 13:08:47 2020] &amp;nbsp;INFO:start:209: Started udf manager&lt;BR /&gt;&amp;#27;[36mia_video_ingestion &amp;nbsp; &amp;nbsp;|&amp;#27;[0m [Tue May &amp;nbsp;5 13:08:47 2020] &amp;nbsp;INFO:start:215: Ingestor thread started...&lt;BR /&gt;&amp;#27;[36mia_video_ingestion &amp;nbsp; &amp;nbsp;|&amp;#27;[0m [Tue May &amp;nbsp;5 13:08:47 2020] &amp;nbsp;INFO:run:150: Gstreamer ingestor thread started&lt;BR /&gt;&amp;#27;[36mia_video_ingestion &amp;nbsp; &amp;nbsp;|&amp;#27;[0m 0:00:01.196368439 &amp;#27;[331m &amp;nbsp; 18&amp;#27;[00m 0x7febbc0024d0 &amp;#27;[37m&amp;#27;[00m &amp;#27;[00m &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;pylonsrc gstpylonsrc.c:2381:pylonc_print_camera_info:&amp;lt;pylonsrc0&amp;gt;&amp;#27;[00m Status: Using camera "acA2040-120um" (serial number: , id: 0).&lt;BR /&gt;&amp;#27;[36mia_video_ingestion &amp;nbsp; &amp;nbsp;|&amp;#27;[0m [Tue May &amp;nbsp;5 13:08:48 2020] ERROR:bus_call:189: &lt;STRONG&gt;Gst Bus Error: Failed to initialise the camera&lt;/STRONG&gt;&lt;BR /&gt;&amp;#27;[36mia_video_ingestion &amp;nbsp; &amp;nbsp;|&amp;#27;[0m [Tue May &amp;nbsp;5 13:08:48 2020] &amp;nbsp;INFO:run:153: Gstreamer ingestor thread stopped&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TIP&lt;/STRONG&gt;: In the /GlobalEnv/ node of ETCD, you can change the debug log levels for various programming languages. This could give us additional details that might have been helpful. (I regret I didn't do this...) Since this doesn't change at run-time, make sure you restart the containers for the changes to become effective.&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "PY_LOG_LEVEL": "INFO",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "GO_LOG_LEVEL": "INFO",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "C_LOG_LEVEL": "INFO",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "GO_VERBOSE": "0",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "ETCD_KEEPER_PORT": "7070",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "DEV_MODE": "true"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Without useful hints in the logs, I had to add my own debug prints in the code to narrow down the problem. When I tried to do so with the Gstreamer library, I found it wasn't very straightforward, because it's downloaded and built when the video ingestion Docker image was built.&lt;/P&gt;&lt;P&gt;RUN wget -O - ${GST_REPO} | tar xJ &amp;amp;&amp;amp; \&lt;BR /&gt;&amp;nbsp; &amp;nbsp; cd /tmp/gstreamer-${GST_VER} &amp;amp;&amp;amp; \&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ./autogen.sh \&lt;BR /&gt;&amp;nbsp; &amp;nbsp; --prefix=/usr \&lt;BR /&gt;&amp;nbsp; &amp;nbsp; --libdir=/usr/lib/x86_64-linux-gnu \&lt;BR /&gt;&amp;nbsp; &amp;nbsp; --libexecdir=/usr/lib/x86_64-linux-gnu \&lt;BR /&gt;&amp;nbsp; &amp;nbsp; --enable-shared \&lt;BR /&gt;&amp;nbsp; &amp;nbsp; --enable-introspection \&lt;BR /&gt;&amp;nbsp; &amp;nbsp; --disable-examples &amp;nbsp;\&lt;BR /&gt;&amp;nbsp; &amp;nbsp; --disable-gtk-doc &amp;amp;&amp;amp; \&lt;BR /&gt;&amp;nbsp; &amp;nbsp; make -j$(nproc --ignore=2) &amp;amp;&amp;amp; \&lt;BR /&gt;&amp;nbsp; &amp;nbsp; make install DESTDIR=/home/build &amp;amp;&amp;amp; \&lt;BR /&gt;&amp;nbsp; &amp;nbsp; make install;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Tip&lt;/STRONG&gt;: To be able to modify the code, I had to download a copy on the host first (wget &lt;A href="https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.16.0.tar.gz" target="_blank"&gt;https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.16.0.tar.gz&lt;/A&gt; .), untar it, make changes, and make the following Dockerfile&amp;nbsp;changes so the modified code gets built in the image.&lt;/P&gt;&lt;P&gt;COPY gstreamer-${GST_VER} /tmp/gstreamer-${GST_VER}&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;RUN &amp;nbsp; &amp;nbsp;cd /tmp/gstreamer-${GST_VER} &amp;amp;&amp;amp; \&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ./autogen.sh \&lt;BR /&gt;&amp;nbsp; &amp;nbsp; --prefix=/usr \&lt;BR /&gt;&amp;nbsp; &amp;nbsp; --libdir=/usr/lib/x86_64-linux-gnu \&lt;BR /&gt;&amp;nbsp; &amp;nbsp; --libexecdir=/usr/lib/x86_64-linux-gnu \&lt;BR /&gt;&amp;nbsp; &amp;nbsp; --enable-shared \&lt;BR /&gt;&amp;nbsp; &amp;nbsp; --enable-introspection \&lt;BR /&gt;&amp;nbsp; &amp;nbsp; --disable-examples &amp;nbsp;\&lt;BR /&gt;&amp;nbsp; &amp;nbsp; --disable-gtk-doc &amp;amp;&amp;amp; \&lt;BR /&gt;&amp;nbsp; &amp;nbsp; make -j$(nproc --ignore=2) &amp;amp;&amp;amp; \&lt;BR /&gt;&amp;nbsp; &amp;nbsp; make install DESTDIR=/home/build &amp;amp;&amp;amp; \&lt;BR /&gt;&amp;nbsp; &amp;nbsp; make install;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively, you should also be able to execute an interactive shell on a running container, edit the library code in it and rebuild the library in it. Up to you.&lt;/P&gt;&lt;P&gt;With the additional debug prints, I was able to gradually pin point the issue to the gst_pylonsrc_start function in gstpylonsrc.c, that the camera didn't support the&amp;nbsp;yuv422 imageformat. Finally, I had a look at the spec of this acA2040-120um camera... It turned out it's a&amp;nbsp;monochrome camera... By suggesting Colin to replace the camera settings to the&amp;nbsp;monochrome one from the README file, the camera could be configured and started now.&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 08:31:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/EIS-Balser-isseus/m-p/1180003#M20</guid>
      <dc:creator>Jia-Shing_W_Intel</dc:creator>
      <dc:date>2020-05-14T08:31:11Z</dc:date>
    </item>
    <item>
      <title>Hi Jia-Shing,</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/EIS-Balser-isseus/m-p/1180004#M21</link>
      <description>&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Hi Jia-Shing,&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Attached file is the autoexposure time that I have tested in &amp;nbsp;EIS.&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Three methods you provided can display images in EIS but delay almost 7.8 seconds .&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;It is smoothly in logi camera to connect with EIS and also smoothly basler with pylon .&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Is there any parameter I need to adjust in EIS ?&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 05:16:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/EIS-Balser-isseus/m-p/1180004#M21</guid>
      <dc:creator>Huang__Colin</dc:creator>
      <dc:date>2020-05-20T05:16:17Z</dc:date>
    </item>
    <item>
      <title>Hi Colin,</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/EIS-Balser-isseus/m-p/1180005#M22</link>
      <description>&lt;P style="margin-left:0in; margin-right:0in"&gt;Hi Colin,&lt;/P&gt;&lt;P style="margin-left:0in; margin-right:0in"&gt;Do you mean there is a 7-sec+ delay for all three methods? When&amp;nbsp;do you see this delay, the time between a frame is taken and it’s displayed (perhaps you can point the camera at a watch or clock to tell), or at camera initialization?&lt;/P&gt;&lt;P style="margin-left:0in; margin-right:0in"&gt;In the gst_pylonsrc_set_property function in gstpylonsrc.c, if you change g_value_get_float with g_value_get_double, then this issue can be worked around and you can set the exposure time in the ETCD UI.&lt;/P&gt;&lt;P style="margin-left:0in; margin-right:0in"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; case PROP_EXPOSUREUSB:&lt;/P&gt;&lt;P style="margin-left:0in; margin-right:0in"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pylonsrc-&amp;gt;exposureUsb = g_value_get_float(value);&lt;/P&gt;&lt;P style="margin-left:0in; margin-right:0in"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;/P&gt;&lt;P style="margin-left:0in; margin-right:0in"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-left:0in; margin-right:0in"&gt;Regards,&lt;/P&gt;&lt;P style="margin-left:0in; margin-right:0in"&gt;Jia-Shing&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 08:19:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/EIS-Balser-isseus/m-p/1180005#M22</guid>
      <dc:creator>Jia-Shing_W_Intel</dc:creator>
      <dc:date>2020-05-20T08:19:56Z</dc:date>
    </item>
  </channel>
</rss>

