<?xml version="1.0" encoding="UTF-8"?>
<hdevelop file_version="1.1" halcon_version="13.0">
<procedure name="handle_NaN_box_coordinate">
<interface>
<ic>
<par name="box_coordinate_tracker" base_type="ctrl" dimension="0"/>
</ic>
<oc>
<par name="box_coordinate_tracker_out" base_type="ctrl" dimension="0"/>
</oc>
</interface>
<body>
<c> * Copyright (c) MVTec Software GmbH.  All rights reserved.</c>
<c> *</c>
<c> * All use of this software is subject to the terms of the revised BSD</c>
<c> * license.  You should have received a copy of this license along</c>
<c> * with this source code in a file named "license.txt."</c>
<c></c>
<l>box_coordinate_tracker_out := box_coordinate_tracker</l>
<l>tuple_is_string_elem (box_coordinate_tracker_out, IsString)</l>
<l>if (sum(IsString) &gt; 0)</l>
<l>    tuple_strstr (box_coordinate_tracker_out, 'NaN', Position)</l>
<l>    if (sum(Position [&gt;] -1)&gt;0)</l>
<l>        box_coordinate_tracker_out := [-100,-100,1,1,0]</l>
<l>    endif</l>
<l>endif</l>
<l>return ()</l>
</body>
<docu id="handle_NaN_box_coordinate">
<parameters>
<parameter id="box_coordinate_tracker"/>
<parameter id="box_coordinate_tracker_out"/>
</parameters>
</docu>
</procedure>
</hdevelop>
