Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
UmSenhorQualquer committed Aug 8, 2018
1 parent 042846b commit e519e10
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,15 @@ class ComputerVisionAlgorithm(BaseWidget):
def __init__(self, *args, **kwargs):
super().__init__('Computer vision algorithm example')

self.set_margin(10)

#Definition of the forms fields
self._videofile = ControlFile('Video')
self._outputfile = ControlText('Results output file')
self._threshold = ControlSlider('Threshold', 114, 0,255)
self._blobsize = ControlSlider('Minimum blob size', 100, 100,2000)
self._player = ControlPlayer('Player')
self._runbutton = ControlButton('Run')
self._videofile = ControlFile('Video')
self._outputfile = ControlText('Results output file')
self._threshold = ControlSlider('Threshold', 114, 0,255)
self._blobsize = ControlSlider('Minimum blob size', 100, 100,2000)
self._player = ControlPlayer('Player')
self._runbutton = ControlButton('Run')

#Define the function that will be called when a file is selected
self._videofile.changed = self.__videoFileSelectionEvent
Expand Down Expand Up @@ -122,5 +124,4 @@ Result of runnning the application in the terminal:
$> python test.py
```


![ScreenShot](docs/source/_static/imgs/terminal-example-computervisionalgorithm.png "Screen")
![ScreenShot](docs/imgs/gui-example-computervisionalgorithm.png "Screen")
Binary file added docs/imgs/gui-example-computervisionalgorithm.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e519e10

Please sign in to comment.