yes, the easiest is:
- create a new python module in JeVois inventor (CTRL-N)
- fill in all the info and create the module
The module will have a stub modinfo.html stored to microSD as part of the creation process. Look on the microSD under JEVOIS:/modules/VENDOR_YOU_CHOSE/MODULE_YOU_CHOSE/modinfo.html
In there, search, towards the end, for "This module was created with JeVois Inventor". This is the HTML that will appear in the Info panel. So just paste your new HTML and it should show up in the inventor.
Caveat: there is some stuff in the stub HTML that has incorrect values and that is not parsed yet by the inventor. The incorrect values are here as placeholders. You can ignore them, but keep them so the parser does not choke in the future if we decide to start looking for them. Those are: whether the module supports USB video or headless, and the list of supported video mappings.
Below is the stub used by the Inventor. The Inventor replaces variables @MODULE@, @VENDOR@, etc in there by the values provided when creating the new module. Whatever you edit, make sure you do not insert extra line endings, spaces, etc that could prevent the parser state machine described in the previous post from finding the start and end tags it is looking for.
<html><head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META HTTP-EQUIV="Content-Language" CONTENT="en-US"><META NAME="robots" CONTENT="index, follow">
<META NAME="rating" CONTENT="General"><META NAME="distribution" CONTENT="Global">
<META NAME="revisit-after" CONTENT="15 days"><META NAME="author" CONTENT="Laurent Itti, JeVois">
<META NAME="description" CONTENT="JeVois Smart Embedded Machine Vision Toolkit - module DemoEyeTracker">
<link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
<link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css'>
<link rel="stylesheet" type="text/css" href="/modstyle.css">
</head> <body>
<table class=modinfo><tr><td>
<table class=modinfotop><tr><td><a href="/moddoc/@MODULE@/modinfo.html"><img src="/moddoc/@MODULE@/icon.png" width=48></a></td>
<td valign=middle><table><tr><td class=modinfoname>@MODULE@</td></tr>
<tr><td class=modinfosynopsis>@SYNOPSIS@</td></tr></table></td></tr></table></td></tr>
<tr><td width=100%><table class=modinfoauth width=100%><tr><td>By @AUTHOR@</td><td align=center>@EMAIL@</td><td align=center>@WEBSITE@</td><td align=right>@LICENSE@</td></tr></table></td></tr>
<tr><td><table class=videomapping><tr><td class=videomapping>
<table class=moduledata><tr><td class=moduledata> Language: @LANGUAGE@</td><td class=moduledata align=center>Supports mappings with USB output: Yes</td><td class=moduledata align=right>Supports mappings with NO USB output: Maybe </td></tr></table>
</td></tr>
<tr><td class=videomapping><small><b> Video Mapping: </b></small><tt>GREY 640 480 30.0 YUYV 640 480 30.0 JeVois DemoEyeTracker</tt></td></tr>
<tr><td class=videomapping><small><b> Video Mapping: </b></small><tt>GREY 320 240 60.0 YUYV 320 240 60.0 JeVois DemoEyeTracker</tt></td></tr>
<tr><td class=videomapping><small><b> Video Mapping: </b></small><tt>GREY 176 144 120.0 YUYV 176 144 120.0 JeVois DemoEyeTracker</tt></td></tr>
</table></td></tr>
<tr><td><div class=container>
<div class=galleryItem><a href="screenshot1.png"><img src="screenshot1.png"></a></div>
</div></td></tr><tr><td class=modinfodesc><h2>Module Documentation</h2><div class="textblock"><p>This module was created with JeVois Inventor. Full documentation parsing is not yet supported.</p>
</div></td></tr>
</table>
</body></html>