<?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 Re: extractDetectedObjects _nObjects_ is missing or object detection columns in Developers</title>
    <link>https://communities.sas.com/t5/Developers/extractDetectedObjects-nObjects-is-missing-or-object-detection/m-p/556747#M366</link>
    <description>&lt;P&gt;Thanks Joe.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just to clarify. I am using CAS directory through the REST API, if that makes any difference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Olli&lt;/P&gt;</description>
    <pubDate>Tue, 07 May 2019 12:07:10 GMT</pubDate>
    <dc:creator>ojaro</dc:creator>
    <dc:date>2019-05-07T12:07:10Z</dc:date>
    <item>
      <title>extractDetectedObjects _nObjects_ is missing or object detection columns</title>
      <link>https://communities.sas.com/t5/Developers/extractDetectedObjects-nObjects-is-missing-or-object-detection/m-p/555630#M360</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to use CAS action image.extractDetectedObjects, however it gives me the following error message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"ERROR: There is an issue with the required columns: either _nObjects_ is missing or object detection columns. The maxObjects parameter would be more than the maximum number of objects detected too."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any pointers to what might cause this error? I have a source table with the images and I have defined the column my images are in with the "image" parameter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Olli&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2019 15:01:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/extractDetectedObjects-nObjects-is-missing-or-object-detection/m-p/555630#M360</guid>
      <dc:creator>ojaro</dc:creator>
      <dc:date>2019-05-02T15:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: extractDetectedObjects _nObjects_ is missing or object detection columns</title>
      <link>https://communities.sas.com/t5/Developers/extractDetectedObjects-nObjects-is-missing-or-object-detection/m-p/556746#M365</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/272636"&gt;@ojaro&lt;/a&gt;. I am seeking someone internal at SAS to assist with your question. I will also try and replicate this issue. I'll let you know what I find out.&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2019 12:03:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/extractDetectedObjects-nObjects-is-missing-or-object-detection/m-p/556746#M365</guid>
      <dc:creator>joeFurbee</dc:creator>
      <dc:date>2019-05-07T12:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: extractDetectedObjects _nObjects_ is missing or object detection columns</title>
      <link>https://communities.sas.com/t5/Developers/extractDetectedObjects-nObjects-is-missing-or-object-detection/m-p/556747#M366</link>
      <description>&lt;P&gt;Thanks Joe.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just to clarify. I am using CAS directory through the REST API, if that makes any difference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Olli&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2019 12:07:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/extractDetectedObjects-nObjects-is-missing-or-object-detection/m-p/556747#M366</guid>
      <dc:creator>ojaro</dc:creator>
      <dc:date>2019-05-07T12:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: extractDetectedObjects _nObjects_ is missing or object detection columns</title>
      <link>https://communities.sas.com/t5/Developers/extractDetectedObjects-nObjects-is-missing-or-object-detection/m-p/557069#M368</link>
      <description>&lt;P&gt;Hi Olli,&lt;/P&gt;
&lt;P&gt;The &lt;A title="doc for extractDetectedObjects" href="https://go.documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=casactml&amp;amp;docsetTarget=casactml_extractdetectedobjects_syntax.htm&amp;amp;locale=en" target="_blank" rel="noopener"&gt;API doc for extractDetectedObjects&lt;/A&gt;&amp;nbsp;indicates that you need to pass the maxObjs parameter in the JSON body of you request. From the doc:&lt;/P&gt;
&lt;H4 id="SAS.cas-image-extractdetectedobjects-maxobjects" class="xisCas-argument"&gt;maxObjects&lt;SPAN class="xisCas-equals"&gt;=&lt;SPAN class="xisCas-userSuppliedSyntaxValue2"&gt;64-bit-integer&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/H4&gt;
&lt;DIV class="xisCas-argumentDescription"&gt;
&lt;P class="xisCas-paraSimple"&gt;specifies the maximum number of detected objects to extract from the image data in the input table.&lt;/P&gt;
&lt;SECTION class="xisDoc-tableWrap"&gt;
&lt;TABLE class="xisCas-summary"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="xisCas-summaryDefault"&gt;Default&lt;/TD&gt;
&lt;TD class="xisCas-summaryText"&gt;10&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="xisCas-summaryDefault"&gt;Minimum value&lt;/TD&gt;
&lt;TD class="xisCas-summaryText"&gt;0&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/SECTION&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This value should be set to more than the maximum number of objects in the CASTable, which is also an input parameter in the request. If further investigation is needed, can you provide a sample url that you are using and the JSON body for the POST?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 11:59:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/extractDetectedObjects-nObjects-is-missing-or-object-detection/m-p/557069#M368</guid>
      <dc:creator>joeFurbee</dc:creator>
      <dc:date>2019-05-08T11:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: extractDetectedObjects _nObjects_ is missing or object detection columns</title>
      <link>https://communities.sas.com/t5/Developers/extractDetectedObjects-nObjects-is-missing-or-object-detection/m-p/557149#M369</link>
      <description>&lt;P&gt;Hi Joe,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply. I have added maxObjs to my request and it makes no difference. Also, my understanding of this parameter was that it would define the maximum number of objects extracted from a single image analysed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am sending a POST request to&amp;nbsp;http://{{server_url}}:{{CAS_port}}/cas/sessions/{{CAS_session}}/actions/image.extractDetectedObjects and my request payload looks as below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"table" : "IMAGES",&lt;BR /&gt;"casOut" : "IMAGES_EXTRACTED",&lt;BR /&gt;"extractType" : "HIGHLIGHT",&lt;BR /&gt;"image" : "_image_",&lt;BR /&gt;"coordType" : "YOLO",&lt;BR /&gt;"maxObjects": 5&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have previously loaded three images to CAS table IMAGES using URL http://{{server_url}}:{{CAS_port}}/cas/sessions/{{CAS_session}}/actions/image.loadImages and was hoping that the above action would allow me to extract objects from these images.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Olli&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 14:56:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/extractDetectedObjects-nObjects-is-missing-or-object-detection/m-p/557149#M369</guid>
      <dc:creator>ojaro</dc:creator>
      <dc:date>2019-05-08T14:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: extractDetectedObjects _nObjects_ is missing or object detection columns</title>
      <link>https://communities.sas.com/t5/Developers/extractDetectedObjects-nObjects-is-missing-or-object-detection/m-p/558419#M374</link>
      <description>&lt;P&gt;Hi Olli,&lt;/P&gt;
&lt;P&gt;I was able to reproduce your error using both Python and REST. At this point, I'd recommend opening a ticket with &lt;A title="SAS Technical Support" href="https://support.sas.com/en/technical-support/contact-sas.html" target="_blank" rel="noopener"&gt;SAS Technical Support&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2019 18:52:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/extractDetectedObjects-nObjects-is-missing-or-object-detection/m-p/558419#M374</guid>
      <dc:creator>joeFurbee</dc:creator>
      <dc:date>2019-05-13T18:52:22Z</dc:date>
    </item>
  </channel>
</rss>

