I want to extract my head in the canvas.How can I do it? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

I want to extract my head in the canvas.How can I do it?

https://code.sololearn.com/W9OrnjqKLrCt/?ref=app

22nd Jul 2018, 11:40 AM
Sina
Sina - avatar
7 Answers
+ 3
Sina You have to explain better because personally i dont understan what you mean with "extract my head in the canvas"
22nd Jul 2018, 11:44 AM
KrOW
KrOW - avatar
+ 2
Then you want copy a part of canvas data (pixels) right?
22nd Jul 2018, 11:47 AM
KrOW
KrOW - avatar
+ 1
You can extract a part of a photo with canvas.Now I want to extrart the head in the photo
22nd Jul 2018, 11:46 AM
Sina
Sina - avatar
+ 1
yes and I want it be my head in photo
22nd Jul 2018, 11:47 AM
Sina
Sina - avatar
+ 1
I cannot help you in object detection but if you want get a knowed positioned part of your canvas, read here https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Pixel_manipulation_with_canvas
22nd Jul 2018, 11:50 AM
KrOW
KrOW - avatar
+ 1
https://code.sololearn.com/WqYGXrfhFiF5/?ref=app
22nd Jul 2018, 12:39 PM
Calviղ
Calviղ - avatar
+ 1
Can you explain the numbers that you write there plz??
24th Jul 2018, 10:28 AM
Sina
Sina - avatar