<div dir="ltr">All registered processes can be listed with the plugin explorer. Those written in python have the attribute "_python" displayed so there is no need for a special naming convention.<div><br></div><div>Python processes register themselves with a "__sprokit_register__()" function at the end of the source file.</div><div><br></div><div>If the process is not in the registry, it could be that it was not installed or the installed location is not being searched.</div><div><br></div><div>--Linus<br><div><br></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 22, 2017 at 5:43 PM, Matt Brown <span dir="ltr"><<a href="mailto:matt.brown@kitware.com" target="_blank">matt.brown@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Does anyone know the status of the current functionality of launching a Python process with Sprokit? I am interested in making a histogram display with Python. I used the Pyhton example ProcessImage, but got the following:<br><br>There is no such process of type 'ProcessImage' in the registry<br><br></div>I made sure that it was built with KWIVER_ENABLE_PYTHON set to ON.<br><br></div>Also, what should we do about naming Python processes in the registry? Should we prepend something to distinguish it?<br><br></div>Thanks,<br></div>Matt<br></div>
<br>______________________________<wbr>_________________<br>
Kwiver-users mailing list<br>
<a href="mailto:Kwiver-users@public.kitware.com">Kwiver-users@public.kitware.<wbr>com</a><br>
<a href="http://public.kitware.com/mailman/listinfo/kwiver-users" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/kwiver-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><font color="#888888"><b>Linus Sherrill - </b></font><font color="#888888">Staff R&D Engineer<br></font><font color="#888888">Kitware, Inc.<br>28 Corporate Drive<br>Clifton Park, NY 12065-8662<br>E: <a href="mailto:linus.sherrill@kitware.com" target="_blank">linus.sherrill@kitware.com</a><br>P: 518.881.4400<br></font></div></div></div></div></div>
</div>