2018-03-26 22:03:11 -0600 | marked best answer | Hand Drawing Shape OpenCV/Canvas (HELP!) Hello guys! I am a student and all the help I can have are really appreciated! <3 My first target is to create a canvas, wherein I can draw shape manually. (Pentagon, hexagon, square, arrow, etc) I don’t want to draw the shape as solid one but I want to do it manually. Easy right? I can just use the canvas with that. But my problem lies here, After or during (I am not sure yet if which is better) drawing, (for example I am going to draw pentagon, ang my drawing is a bit squimsy, or to pointy something like that), I want to make the drawing smooth making it like I’ve drawn a solid shape. (meaning correcting the hand drawn shape/detecting what shape is that and recreating a good shape unlike the squimsy drawing) How can I do that? What I’ve conclude is this: ( but this is after drawing all the shape, but i’m not sure how to detect if the drawing is finished yet)
Is this good? But I am not sure on how to use OpenCV on web. As well as I want to re-shape the drawing during the drawing. Not after. And when I do this the web needs to be refreshed everytime right? Do you have any points/idea/suggestion on how could I do this? Thank you and I hope you could help me with this. Lovelots! |
2018-03-26 22:03:11 -0600 | received badge | ● Scholar (source) |
2018-03-26 21:29:07 -0600 | commented answer | Hand Drawing Shape OpenCV/Canvas (HELP!) Thank you for your comment. How should i know if the user has stop drawing? mouseUp? I want to something like this. If I |
2018-03-26 03:31:47 -0600 | asked a question | Hand Drawing Shape OpenCV/Canvas (HELP!) Hand Drawing Shape OpenCV/Canvas (HELP!) Hello guys! I am a student and all the help I can have are really appreciated! |