<?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 Edge Insights for Retail - Video Analytics Serving not working in Edge Software Catalog</title>
    <link>https://community.intel.com/t5/Edge-Software-Catalog/Edge-Insights-for-Retail-Video-Analytics-Serving-not-working/m-p/1184429#M23</link>
    <description>&lt;P&gt;I have downloaded and installed the Edge Insight for Retail package successfully in a clean and fresh installed Ubuntu 18.04.&lt;/P&gt;&lt;P&gt;The list command say that my installation is OK&lt;/P&gt;
&lt;PRE class="brush:bash; class-name:dark;"&gt;test@test-NUC8i7HVK:~/Downloads/edge_insights_retail$ ./edgesoftware list
+------------------------------------------------------------+----------+
|                           Module                           |  Status  |
+------------------------------------------------------------+----------+
|                Docker_Community_Edition_CE                 |  SUCCESS |
|                       Docker_Compose                       |  SUCCESS |
| Video_Analytics_Serving_with_the__OpenVINO_toolkit_2019_R2 |  SUCCESS |
|                       EdgeX_Foundry                        |  SUCCESS |
|         Real_Time_Sensor_Fusion_for_Loss_Detection         |  SUCCESS |
+------------------------------------------------------------+----------+&lt;/PRE&gt;

&lt;P&gt;I proceeded to execute the Video Analytics Serving example posted in &lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/edge-insights-retail-doc/tutorials/video-analytics-serving.html" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/documentation/edge-insights-retail-doc/tutorials/video-analytics-serving.html&lt;/A&gt;. The commands are posted below, it shows the container running.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;test@test-NUC8i7HVK:~/Downloads/edge_insights_retail$ xhost local:root&lt;/P&gt;

&lt;PRE class="brush:bash; class-name:dark;"&gt;test@test-NUC8i7HVK:~/Downloads/edge_insights_retail$ sudo docker run --rm -d --privileged --net=host -v ~/.Xauthority:/root/.Xauthority -v /tmp/.X11-unix/:/tmp/.X11-unix/ -v /tmp:/tmp -e DISPLAY=$DISPLAY video_analytics_serving_gstreamer_edgex:0.2.2
test@test-NUC8i7HVK:~/Downloads/edge_insights_retail$ sudo docker ps

CONTAINER ID        IMAGE                                           COMMAND                  CREATED             STATUS              PORTS               NAMES
46a774ca7f81        video_analytics_serving_gstreamer_edgex:0.2.2   "./docker-entrypoint…"   9 minutes ago       Up 9 minutes                            gracious_kapitsa
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I try to execute the "Run the Sample Application" step, I get a "Invalid Pipeline or Version" message:&lt;/P&gt;

&lt;PRE class="brush:; class-name:dark;"&gt;
test@test-NUC8i7HVK:~/Downloads/edge_insights_retail$ curl localhost:8080/pipelines/object_detection/2 -X POST -H 'Content-Type: application/json' -d '{ "source": { "uri": "https://github.com/intel-iot-devkit/sample-videos/blob/master/bottle-detection.mp4?raw=true", "type": "uri" }}'
"Invalid Pipeline or Version"&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I checked the logs of the created container, and it is complaining about missing libraries and commands.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;PRE class="brush:; class-name:dark;"&gt;test@test-NUC8i7HVK:~/Downloads/edge_insights_retail$ sudo docker logs gracious_kapitsa 
Starting container...
Launching Command# 0 in background...
starting video analytics service
Command# 0 running as PID# 9
Launching Command# 1 in background...
starting edgex wrapper
Command# 1 running as PID# 10
Create MQTT client and connection: uri=tcp://admin:public@mqtt:1883 clientID=VideoAnalyticSubscriber 
network Error : dial tcp: lookup mqtt on 75.75.75.75:53: no such host
not Connected

(gst-plugin-scanner:20): GStreamer-WARNING **: 14:40:57.754: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstpython.cpython-36m-x86_64-linux-gnu.so': libpython3.6m.so.1.0: cannot open shared object file: No such file or directory
{"levelname": "ERROR", "asctime": "2020-05-13 14:40:58,079", "message": "Error loading FFmpeg: ffmpeg not installed\n", "name": "PipelineManager"}
{"levelname": "INFO", "asctime": "2020-05-13 14:40:58,079", "message": "Loading Pipelines from Config Path /home/video-analytics/app/server/openapi_server/../../../pipelines", "name": "PipelineManager"}
{"levelname": "WARNING", "asctime": "2020-05-13 14:40:58,127", "message": "Missing metaconvert element", "name": "GSTPipeline"}
{"levelname": "WARNING", "asctime": "2020-05-13 14:40:58,127", "message": "Missing metapublish element", "name": "GSTPipeline"}
{"levelname": "WARNING", "asctime": "2020-05-13 14:40:58,138", "message": "Missing metaconvert element", "name": "GSTPipeline"}
{"levelname": "WARNING", "asctime": "2020-05-13 14:40:58,138", "message": "Missing metapublish element", "name": "GSTPipeline"}
{"levelname": "WARNING", "asctime": "2020-05-13 14:40:58,158", "message": "Missing metaconvert element", "name": "GSTPipeline"}
{"levelname": "WARNING", "asctime": "2020-05-13 14:40:58,158", "message": "Missing metapublish element", "name": "GSTPipeline"}
{"levelname": "WARNING", "asctime": "2020-05-13 14:40:58,169", "message": "Missing metaconvert element", "name": "GSTPipeline"}
{"levelname": "WARNING", "asctime": "2020-05-13 14:40:58,170", "message": "Missing metapublish element", "name": "GSTPipeline"}
{"levelname": "ERROR", "asctime": "2020-05-13 14:40:58,170", "message": "Pipeline emotion_recognition with type FFmpeg not supported", "name": "PipelineManager"}
{"levelname": "ERROR", "asctime": "2020-05-13 14:40:58,171", "message": "Pipeline object_detection with type FFmpeg not supported", "name": "PipelineManager"}
{"levelname": "INFO", "asctime": "2020-05-13 14:40:58,171", "message": "Completed Loading Pipelines", "name": "PipelineManager"}
{"levelname": "INFO", "asctime": "2020-05-13 14:40:58,171", "message": "Loading Models from Path /home/video-analytics/models", "name": "ModelManager"}
{"levelname": "INFO", "asctime": "2020-05-13 14:40:58,175", "message": "Completed Loading Models", "name": "ModelManager"}
{"levelname": "INFO", "asctime": "2020-05-13 14:40:58,243", "message": "Starting Tornado Server on port: 8080", "name": "main"}
{"levelname": "INFO", "asctime": "2020-05-13 14:41:32,804", "message": "Creating Instance of Pipeline object_detection/2", "name": "PipelineManager"}
{"levelname": "WARNING", "asctime": "2020-05-13 14:41:32,804", "message": "Invalid pipeline or version", "name": "PipelineManager"}
WARNING:tornado.access:400 POST /pipelines/object_detection/2 (127.0.0.1) 6.97ms
{"levelname": "INFO", "asctime": "2020-05-13 14:50:44,326", "message": "Creating Instance of Pipeline object_detection/2", "name": "PipelineManager"}
{"levelname": "WARNING", "asctime": "2020-05-13 14:50:44,327", "message": "Invalid pipeline or version", "name": "PipelineManager"}
WARNING:tornado.access:400 POST /pipelines/object_detection/2 (127.0.0.1) 1.27ms&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any hints?&lt;/P&gt;</description>
    <pubDate>Wed, 13 May 2020 14:54:13 GMT</pubDate>
    <dc:creator>Nicolas_O_Intel</dc:creator>
    <dc:date>2020-05-13T14:54:13Z</dc:date>
    <item>
      <title>Edge Insights for Retail - Video Analytics Serving not working</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/Edge-Insights-for-Retail-Video-Analytics-Serving-not-working/m-p/1184429#M23</link>
      <description>&lt;P&gt;I have downloaded and installed the Edge Insight for Retail package successfully in a clean and fresh installed Ubuntu 18.04.&lt;/P&gt;&lt;P&gt;The list command say that my installation is OK&lt;/P&gt;
&lt;PRE class="brush:bash; class-name:dark;"&gt;test@test-NUC8i7HVK:~/Downloads/edge_insights_retail$ ./edgesoftware list
+------------------------------------------------------------+----------+
|                           Module                           |  Status  |
+------------------------------------------------------------+----------+
|                Docker_Community_Edition_CE                 |  SUCCESS |
|                       Docker_Compose                       |  SUCCESS |
| Video_Analytics_Serving_with_the__OpenVINO_toolkit_2019_R2 |  SUCCESS |
|                       EdgeX_Foundry                        |  SUCCESS |
|         Real_Time_Sensor_Fusion_for_Loss_Detection         |  SUCCESS |
+------------------------------------------------------------+----------+&lt;/PRE&gt;

&lt;P&gt;I proceeded to execute the Video Analytics Serving example posted in &lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/edge-insights-retail-doc/tutorials/video-analytics-serving.html" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/documentation/edge-insights-retail-doc/tutorials/video-analytics-serving.html&lt;/A&gt;. The commands are posted below, it shows the container running.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;test@test-NUC8i7HVK:~/Downloads/edge_insights_retail$ xhost local:root&lt;/P&gt;

&lt;PRE class="brush:bash; class-name:dark;"&gt;test@test-NUC8i7HVK:~/Downloads/edge_insights_retail$ sudo docker run --rm -d --privileged --net=host -v ~/.Xauthority:/root/.Xauthority -v /tmp/.X11-unix/:/tmp/.X11-unix/ -v /tmp:/tmp -e DISPLAY=$DISPLAY video_analytics_serving_gstreamer_edgex:0.2.2
test@test-NUC8i7HVK:~/Downloads/edge_insights_retail$ sudo docker ps

CONTAINER ID        IMAGE                                           COMMAND                  CREATED             STATUS              PORTS               NAMES
46a774ca7f81        video_analytics_serving_gstreamer_edgex:0.2.2   "./docker-entrypoint…"   9 minutes ago       Up 9 minutes                            gracious_kapitsa
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I try to execute the "Run the Sample Application" step, I get a "Invalid Pipeline or Version" message:&lt;/P&gt;

&lt;PRE class="brush:; class-name:dark;"&gt;
test@test-NUC8i7HVK:~/Downloads/edge_insights_retail$ curl localhost:8080/pipelines/object_detection/2 -X POST -H 'Content-Type: application/json' -d '{ "source": { "uri": "https://github.com/intel-iot-devkit/sample-videos/blob/master/bottle-detection.mp4?raw=true", "type": "uri" }}'
"Invalid Pipeline or Version"&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I checked the logs of the created container, and it is complaining about missing libraries and commands.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;PRE class="brush:; class-name:dark;"&gt;test@test-NUC8i7HVK:~/Downloads/edge_insights_retail$ sudo docker logs gracious_kapitsa 
Starting container...
Launching Command# 0 in background...
starting video analytics service
Command# 0 running as PID# 9
Launching Command# 1 in background...
starting edgex wrapper
Command# 1 running as PID# 10
Create MQTT client and connection: uri=tcp://admin:public@mqtt:1883 clientID=VideoAnalyticSubscriber 
network Error : dial tcp: lookup mqtt on 75.75.75.75:53: no such host
not Connected

(gst-plugin-scanner:20): GStreamer-WARNING **: 14:40:57.754: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstpython.cpython-36m-x86_64-linux-gnu.so': libpython3.6m.so.1.0: cannot open shared object file: No such file or directory
{"levelname": "ERROR", "asctime": "2020-05-13 14:40:58,079", "message": "Error loading FFmpeg: ffmpeg not installed\n", "name": "PipelineManager"}
{"levelname": "INFO", "asctime": "2020-05-13 14:40:58,079", "message": "Loading Pipelines from Config Path /home/video-analytics/app/server/openapi_server/../../../pipelines", "name": "PipelineManager"}
{"levelname": "WARNING", "asctime": "2020-05-13 14:40:58,127", "message": "Missing metaconvert element", "name": "GSTPipeline"}
{"levelname": "WARNING", "asctime": "2020-05-13 14:40:58,127", "message": "Missing metapublish element", "name": "GSTPipeline"}
{"levelname": "WARNING", "asctime": "2020-05-13 14:40:58,138", "message": "Missing metaconvert element", "name": "GSTPipeline"}
{"levelname": "WARNING", "asctime": "2020-05-13 14:40:58,138", "message": "Missing metapublish element", "name": "GSTPipeline"}
{"levelname": "WARNING", "asctime": "2020-05-13 14:40:58,158", "message": "Missing metaconvert element", "name": "GSTPipeline"}
{"levelname": "WARNING", "asctime": "2020-05-13 14:40:58,158", "message": "Missing metapublish element", "name": "GSTPipeline"}
{"levelname": "WARNING", "asctime": "2020-05-13 14:40:58,169", "message": "Missing metaconvert element", "name": "GSTPipeline"}
{"levelname": "WARNING", "asctime": "2020-05-13 14:40:58,170", "message": "Missing metapublish element", "name": "GSTPipeline"}
{"levelname": "ERROR", "asctime": "2020-05-13 14:40:58,170", "message": "Pipeline emotion_recognition with type FFmpeg not supported", "name": "PipelineManager"}
{"levelname": "ERROR", "asctime": "2020-05-13 14:40:58,171", "message": "Pipeline object_detection with type FFmpeg not supported", "name": "PipelineManager"}
{"levelname": "INFO", "asctime": "2020-05-13 14:40:58,171", "message": "Completed Loading Pipelines", "name": "PipelineManager"}
{"levelname": "INFO", "asctime": "2020-05-13 14:40:58,171", "message": "Loading Models from Path /home/video-analytics/models", "name": "ModelManager"}
{"levelname": "INFO", "asctime": "2020-05-13 14:40:58,175", "message": "Completed Loading Models", "name": "ModelManager"}
{"levelname": "INFO", "asctime": "2020-05-13 14:40:58,243", "message": "Starting Tornado Server on port: 8080", "name": "main"}
{"levelname": "INFO", "asctime": "2020-05-13 14:41:32,804", "message": "Creating Instance of Pipeline object_detection/2", "name": "PipelineManager"}
{"levelname": "WARNING", "asctime": "2020-05-13 14:41:32,804", "message": "Invalid pipeline or version", "name": "PipelineManager"}
WARNING:tornado.access:400 POST /pipelines/object_detection/2 (127.0.0.1) 6.97ms
{"levelname": "INFO", "asctime": "2020-05-13 14:50:44,326", "message": "Creating Instance of Pipeline object_detection/2", "name": "PipelineManager"}
{"levelname": "WARNING", "asctime": "2020-05-13 14:50:44,327", "message": "Invalid pipeline or version", "name": "PipelineManager"}
WARNING:tornado.access:400 POST /pipelines/object_detection/2 (127.0.0.1) 1.27ms&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any hints?&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2020 14:54:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/Edge-Insights-for-Retail-Video-Analytics-Serving-not-working/m-p/1184429#M23</guid>
      <dc:creator>Nicolas_O_Intel</dc:creator>
      <dc:date>2020-05-13T14:54:13Z</dc:date>
    </item>
    <item>
      <title>Hi Nico,</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/Edge-Insights-for-Retail-Video-Analytics-Serving-not-working/m-p/1184430#M24</link>
      <description>&lt;P&gt;Hi Nico,&lt;/P&gt;&lt;P&gt;Did you follow the&amp;nbsp;Install Package Modules section (link below) to install the dependencies from the configuration.xml file?&lt;/P&gt;&lt;P&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/edge-insights-retail-doc/get-started-guide/introduction-to-the-edge-software-command-line-interface-cli.html" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/documentation/edge-insights-retail-doc/get-started-guide/introduction-to-the-edge-software-command-line-interface-cli.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;1) Open a terminal window.&lt;/P&gt;&lt;P&gt;2) Go to the edge_insights_retail/ directory.&lt;/P&gt;&lt;P&gt;3) Run the install command:./edgesoftware install&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 07:04:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/Edge-Insights-for-Retail-Video-Analytics-Serving-not-working/m-p/1184430#M24</guid>
      <dc:creator>WengWai_C_Intel</dc:creator>
      <dc:date>2020-05-19T07:04:53Z</dc:date>
    </item>
    <item>
      <title>Hello Weng,</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/Edge-Insights-for-Retail-Video-Analytics-Serving-not-working/m-p/1184431#M25</link>
      <description>&lt;P&gt;Hello Weng,&lt;/P&gt;&lt;P&gt;Yes, I followed the Package Modules section to install my dependencies.&lt;/P&gt;&lt;P&gt;The process took a couple of hours, and at the end I had all the images required to run the Video Analytics Serving Tutorial.&lt;/P&gt;&lt;P&gt;I was able to build the original video analytics serving project in&amp;nbsp;https://github.com/intel/video-analytics-serving (took another couple of hours), and the examples from that repo are working fine for me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like the image built during the installation step or the documentation from the tutorial is bad, because there is no "/pipelines/object_detection/2" API available in the installed image&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 16:05:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/Edge-Insights-for-Retail-Video-Analytics-Serving-not-working/m-p/1184431#M25</guid>
      <dc:creator>Nicolas_O_Intel</dc:creator>
      <dc:date>2020-05-19T16:05:24Z</dc:date>
    </item>
    <item>
      <title>I have installed a blank</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/Edge-Insights-for-Retail-Video-Analytics-Serving-not-working/m-p/1184432#M26</link>
      <description>&lt;P&gt;I have installed a blank ubuntu 18.04 today and went through the complete installation process from scratch, and now I can use the Video Analytics Serving Tutorial without problems!&lt;/P&gt;&lt;P&gt;Apparently there was an installation problem the first time that prevented me from using it.&lt;/P&gt;&lt;P&gt;It is unfortunately that the installation process takes a couple of hours thought, but it is working now!&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 21:53:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/Edge-Insights-for-Retail-Video-Analytics-Serving-not-working/m-p/1184432#M26</guid>
      <dc:creator>Nicolas_O_Intel</dc:creator>
      <dc:date>2020-05-19T21:53:07Z</dc:date>
    </item>
    <item>
      <title>ok, glad to hear that and</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/Edge-Insights-for-Retail-Video-Analytics-Serving-not-working/m-p/1184433#M27</link>
      <description>&lt;P&gt;ok, glad to hear that and thanks for sharing the result.&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 04:11:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/Edge-Insights-for-Retail-Video-Analytics-Serving-not-working/m-p/1184433#M27</guid>
      <dc:creator>WengWai_C_Intel</dc:creator>
      <dc:date>2020-05-20T04:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: I have installed a blank</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/Edge-Insights-for-Retail-Video-Analytics-Serving-not-working/m-p/1199946#M28</link>
      <description>&lt;P&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/86401"&gt;@Nicolas_O_Intel&lt;/a&gt;,&amp;nbsp;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/182"&gt;@WengWai_C_Intel&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have improved our documentation that demonstrates how to avoid the long initial build time by using a pre-built image. Let us know if that helps:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/intel/video-analytics-serving/blob/master/docs/building_video_analytics_serving.md#using-pre-built-media-analytics-base-images" target="_blank"&gt;https://github.com/intel/video-analytics-serving/blob/master/docs/building_video_analytics_serving.md#using-pre-built-media-analytics-base-images&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2020 06:24:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/Edge-Insights-for-Retail-Video-Analytics-Serving-not-working/m-p/1199946#M28</guid>
      <dc:creator>Neelay_S_Intel</dc:creator>
      <dc:date>2020-08-13T06:24:21Z</dc:date>
    </item>
  </channel>
</rss>

