ID

Uploaded

Status

Description

Work Items

Action

5004
by todd434
Jan 21, 2010
7:01 AM

Being evaluated

This is an Icon that I created for touchless.
Creative commons here:
http://www.flickr.com/photos/pressthebuttononthetop/292518329/
Todd

Download

3289
by eFloh
Jul 9, 2009
5:38 PM

Being evaluated

(This patch applies agains svn rev. #33898)
* Added ability to highlight marker area rectangle, not only detected pixels and search box (new marker property HighlightRectangle)
* adapted demo app to make use of the new marker property (default off)

Download

3226
by eFloh
Jul 1, 2009
1:24 PM

Being evaluated

This patch applies against SVN rev. 31008 and introduces the following features:
* added Class ExportedMarker as container for serializable Marker information.
* added Marker.ExportMarker() taht returns an ExportedMarker object that can be serialized.
* changed Marker constructor to retrieve the HSV appearance as argument and call SetMarkerAppearance internally; changed Marker.SetMarkerAppearance to private
* added TouchlessMgr.RemoveAllMarkers()
* added TouchlessMgr.AddMarker(ExportedMarker savedMarker)
* changed TouchlessMgr.AddMarker(string name, Bitmap image, Point center, float radius) to match use Marker constructor instead of calling SetMarkerAppearance()
* updated demo application so that the markers page includes two new buttons to save and load markers to/from file.

(as requested in from http://touchless.codeplex.com/Thread/View.aspx?ThreadId=61015)

Download

3225
by eFloh
Jul 1, 2009
12:21 PM

Being evaluated

(superseedes patch #2462)

This patch applies against SVN rev. 31008 and introduces the following features:
* added TouchlessMgr.RemoveMarker(string markerName)
* added TouchlessMgr.RemoveMarker(Marker marker)
* added event TouchlessMgr.MarkerChanged; (raised when ANY marker changes, as opposed to the event from the Marker class)
* updated demo application so that it shows a status bar that gets updated using the new event.

(ideas from http://www.codeplex.com/touchless/Thread/View​​.aspx?ThreadId=45974)

Download

2462
by eFloh
Feb 10, 2009
9:16 PM

Being evaluated

[superseeds patch #2456] match current version of TouchlessLib code (SVN r28804)

I just added the patch mentioned in http://www.codeplex.com/touchless/Thread/View​.aspx?ThreadId=45974 for the curious. Mike, the content is part of a bigger patchset, so you may simply decline it without checking, the changes will be part of anotherbigger patchset following later. Just had some spare time on the train...

Download

2240
by eFloh
Dec 13, 2008
4:23 PM

Applied

Hi,

as proposed in http://www.codeplex.com/touchless/Thread/View.aspx?ThreadId=40016

touchless_present_avgcolor_svn26832

* [BUG] Demo Application did not check if a marker is selected at all
when clicking the remove button.
* [FEATURE] Marker.ToString() now contains info if the marker is
visible and active.
Adapted Demo Application to only show the Marker Name in the Marker ComboBox
* [FEATURE] added HSV.ToString() for debug purposes
* [FEATURE] added property Marker.CalculateAvgColor to enable AvgColor
calculation in each cam image scanning loop
* [FEATURE] added property Marker.Active to be able to "ignore" markers in
the cam image scanner loop (and marker events)
* [FEATURE] added event Marker.OnPresenceChanged that is fired whenever the
marker becomes detected or becomes invisble.
Adapted comments for event Marker.OnChange and Marker.OnPresenceChanged
* [FIX] Renamed Marker.FireMarkerEventData() to Marker.FireMarkerChangedEvent
to better match the name of the fired event.
* [FEATURE] Added MarkerEventData.Present for cleaner code. Returns true iif
MarkerEventData.Area > 0
* [FEATURE] Added MarkerEventData.ColorAvg. Returns the average color of the
recognized pixels when Marker.CalculateAvgColor is set to true, else returns
the Marker.RepresentativeColor.
* [INFO] Added TODO about thread safety in TouchlessMgr.UpdateMarkers
* [FIX] Adapted TouchlessMgr.UpdateMarkers to obey the Marker.Active property
and only calulate the MarkerEventData.AvgColor when Marker.CalulateAvgColor
is set to true
* [FIX] Adapted TouchlessMgr.postProcessMarker to use the Present property
and determine which events (OnChange, OnPresenceChanged) to fire.


Applied Feb 9, 2009: SEE SOURCE CODE CHANGE #28723. <> Applied (may be modified from PATCH version): * [BUG] Demo Application did not check if a marker is selected at all when clicking the remove button * [FEATURE] Adapted Demo Application to only show the Marker Name in the Marker ComboBox * [FEATURE] added HSV.ToString() for debug purposes * [FIX] Renamed Marker.FireMarkerEventData() to Marker.FireMarkerChangedEvent to better match the name of the fired event. (used FireOnChangeEvent) * [FEATURE] Added MarkerEventData.Present for cleaner code. Returns true iif MarkerEventData.Area > 0 * [INFO] Added TODO about thread safety in TouchlessMgr.UpdateMarkers * [FEATURE] added property Marker.Active to be able to "ignore" markers in the cam image scanner loop (and marker events) * [FIX] Adapted TouchlessMgr.UpdateMarkers to obey the Marker.Active property and only calulate the MarkerEventData.AvgColor when Marker.CalulateAvgColor is set to true (The representative color is always the rgb average) <> Declined, or mostly declined (with reason) * [FEATURE] added event Marker.OnPresenceChanged... (Just check CurrentData.Present and PreviousData.Present. OnChange fires when the marker is present, or just lost its presence.) * [FEATURE] Adapted comments for event Marker.OnChange and Marker.OnPresenceChanged (see comment above) * [FIX] Adapted TouchlessMgr.postProcessMarker to use the Present property and determine which events (OnChange, OnPresenceChanged) to fire. (see comment above) * [FEATURE] Marker.ToString() now contains info if the marker is visible and active. (Better as a client-side string building exercise) * [FEATURE] added property Marker.CalculateAvgColor... (The representative color is always the rgb average) * [FEATURE] Added MarkerEventData.ColorAvg.... (see comment above)

Download

2027
by eFloh
Oct 30, 2008
9:05 PM

Applied

Sorry, just sending a better patch to supersede the last one of today.
I have added:
* Some false positives are filtered considering detection of the own search-box
* The highlight takes place using the RepresentativeColor, but with max. saturation. This gives big visual enhancements in the feedback.

sorry for the double work, simply replace the last one with this version.


Applied Dec 12, 2008: Some bugs fixed in this patch have also been fixed by some of my previous changes. (Marker.RepresentativeColor, false positives in highlighting) However, I have not done everything Efloh does, please refer to the thread at http://www.codeplex.com/touchless/Thread/View.aspx?ThreadId=40016 My response is copied here: Efloh, I'm really glad you uploaded those patches, I can always use a helping hand. Your patch appears to be based off of the 1.0 source code, which has been updated significantly in the source repository. I've fixed the representative color (again, haha) with change #26832, and I had previously removed the MarkerEventData.ColorAvg. I don't think it's useful to provide an average color from the marker at each frame. (Marker.RepresentativeColor should be sufficient) If anyone disagrees and would like a per-marker per-frame average color, please vote or make your case in this thread. As for MarkerEventData.Present, I'm not sure what users of Touchless want/expect. In the latest source, I've removed the property, and only send events when the marker is present. Users that poll data can check the Marker's area to determine if it's present, (0Area == !Present). However, I do see how your idea of sending a single event when the marker is lost could be helpful. If anyone would like this change incorporated, please vote or make your case in this thread. If you would like increased saturation on the highlight color, that's easy enough to do client side. But if anyone would like this change incorporated into Touchless itself, please vote or make your case in this thread. (As for the other changes regarding false positives from the highlight color, that's no longer an issue in the latest source) Thanks for making a contribution to the Touchless community! You rock! - Mike

Download

2456
by eFloh
Feb 8, 2009
8:23 PM

Declined

I just added the patch mentioned in http://www.codeplex.com/touchless/Thread/View.aspx?ThreadId=45974 for the curious. Mike, the content is part of a bigger patchset, so you may simply decline it without checking, the changes will be part of anotherbigger patchset following later. Just had some spare time on the train...


Declined Feb 13, 2009: The contents of this patch were updated and included in patch 2462.

2026
by eFloh
Oct 30, 2008
5:28 PM

Declined

This is so a great project I just had to register only in order to commit this patch... :)

You are waiting for AvgColor to work?
You want to get notified once a last whenever the Present state of a marker changes to false?
Here you are!
ColorAvg will return the Average Color of all pixel recognized ("highlighted").
When You move a marker out of sight, the OnChange Event is raised with Present set to false.
The event is raised only once and will not be raised again before the marker comes back into view.


Declined Dec 12, 2008: An updated version of this change (2027) was submitted by eFloh.

View All
  • 1-9 of 9 Patches
    • Previous
    • 1
    • Next
    • Showing
    • All
    • Patches