Wiki for Otira v2
\\\ Under construction ///
The source code is documented but it's easier to have a wiki. The interface isn't finished yet but the software is able to track blobs and returns an image of the user's hands.
Implemented functions (for a webcam) :
- openConfigfile(path) : used to associate a configfile to a webcam.
- app() : opens the config window, you can skip it by pressing F to go to fullscreen mode.
Config File :
Otira reads its parameters in a file. You can create as much files as you want and associate one with the webcam on the go. Here is a list of implemented parameters (the list will grow once the opengl part of the program will be over) :
width = 320 or 640. Desired width for the webcam.
height = 240 or 480. Desired height for the webcam.
bin_threshold_blobs = from 0 to 255. Binary thresholh for blobs.
bin_threshold_hands = from 0 to 255. Binary thresholh for hands.
fps = integer. Sets fps, between 0 and 120 (if available).
Config App :
When the app is launched :

There's an overview of understood parameters. If something isn't there it's because it isn't possible for the program to execute it.
Press the spacebar when ready. It will starts by showing the direct stream. Hit F to skip the config part and launch the fullscreen application or hit escape to exit. If you choose to hit the spacebar, you should get something like this :

Application fps shows you how many fps are really computed by the computer. Don't worry if you entered 30 fps and the computer displays 20 fps, it's just because it can't compute everything and render @ 30 fps. Nevertheless, the fps you entered in the config file are understood if displayed in the previous window and the program will try to render that fast. Of course, the reverse situation can occur...
Press F1 for direct stream ; F2 for B&W ; F3 for binary (blobs) ; F4 for binary (hands) ; F5 for blobs detection.
Enter to save settings : keep in mind that the settings will be saved for the fullscreen but if you exit the application, you modifcations won't be saved, you'll have to do it manually in .cfgs.
Up/Down to modify the binary threshold of blobs. Left/Right for hands'.
No comments:
Post a Comment