button1 = createButton("HELP");
button1.position(530, 490);
button1.style("background", "#930AB1");
button1.style("color", "#ffff");
button1.style("font-size", "20px");
button1.style("border", "none");
button1.mouseClicked(button1Clicked);
button2 = createButton("NO");
button2.position(650, 490);
button2.style("background", "#C21C0A");
button2.style("color", "#ffff");
button2.style("font-size", "20px");
button2.style("border", "none");
button2.mouseClicked(button2Clicked);
button3 = createButton("PAIN");
button3.position(770, 490);
button3.style("background", "#0BA5BD");
button3.style("color", "#ffff");
button3.style("font-size", "20px");
button3.style("border", "none");
button3.mouseClicked(button3Clicked);
button4 = createButton("LOVE");
button4.position(890, 490);
button4.style("background", "#E810CD");
button4.style("color", "#ffff");
button4.style("font-size", "20px");
button4.style("border", "none");
button4.mouseClicked(button4Clicked);
rect(50, 20, 500, 660, cornerRadius);
rect(50, 20, 500, 660, cornerRadius);
rect(50, 610, 500, 70, 0, 0, cornerRadius,cornerRadius);
textAlign(CENTER, CENTER);
text("Translate words into sign language", width/2, 645);
image(imgSrc, -215, -130);
image(imgSrc1, -270, -170);
image(imgSrc2, -275, -90);
image(imgSrc3, -275, -90);
function button1Clicked() {
imgSrc = loadImage("help.handpose.png", function (img) {
img.resize(img.width * 0.3, img.height * 0.3);
function button2Clicked() {
imgSrc1 = loadImage("no.handpose.png", function (img) {
img.resize(img.width * 0.3, img.height * 0.3);
function button3Clicked() {
imgSrc2 = loadImage("pain.handpose.png", function(img) {
img.resize(img.width * 0.3, img.height * 0.3);
function button4Clicked() {
imgSrc3 = loadImage("love.handpose.png", function(img) {
img.resize(img.width * 0.3, img.height * 0.3);