-
Notifications
You must be signed in to change notification settings - Fork 2k
How to set line width in face tracking #963
Comments
hi there, as I understand you want to change or set the width or height or the rectangle? and here's the link I made an issue, |
Thanks for your reply, but I think you misunderstand me. What I mean is how to set the "line" width, the thickness of the line, not the size of rectangle. Since I want to customize the tracker marker. |
hi, |
Actually, I have tried. But no result. |
public static void Polyline(UnmanagedImage image, List points, Color color); |
Ok, |
Hi @sliontc, At this moment the RectanglesMarker class doesn't offer a width property to achieve this. However, adding support for this shouldn't be too difficult - if you are interested, I would accept pull requests implementing this change. If you need to make only horizontal or vertical lines thicker (i.e. the borders of a rectangle), then the implementation should be straightforward. If, however, you would need to make lines at arbitrary angles thicker, then it would not be as simple. But for the first case, maybe we can do as following:
Regards, |
Great thanks for your tips. I will try to pull request. |
@cesarsouza I just submit a pull request. |
What would you like to submit? (put an 'x' inside the bracket that applies)
How can I set the line width when draw the rectangle marker in Camshift Face Tracking?
If you would like to submit an issue, please include a sample of the code you are trying to execute, as well as any data you might be using in your experiment, such as data tables, images, anything that might be necessary to reproduce the problem.
Note: If you would like to support the development for this feature or resolution of this bug, consider adding a bounty to it later in https://www.bountysource.com/teams/accord-net/issues
The text was updated successfully, but these errors were encountered: