Visual Detection Experiment Demo Experiment Run Experiment

Visual Detection Experiment

Jaap Murre

Simple detection demo.

Images are shown at increasingly long intervals until the subject can recognize it. The detection threshold (in frames of 16.6 ms) and description are recorded for each image.

If you are a registered user and signed in, you can here copy this script and its stimuli to your own account, where you can edit it and change it in any way you want.

It is absolutely free to register (no credit card info asked!). You can then instantly copy this experiment with one click and edit it, change its accompanying texts, its landing page, stimuli, etc. Invite your colleagues, friends, or students to check out your experiment. There is no limit on how many people can do your experiment, even with a free account.

The catch? There is no catch! Just keep in mind that with a free account, you cannot collect data. For teaching that is usually not a problem. For research, prepaid data collection (unlimited subjects) starts as low as €10.00 for a 10-day period.

preload("image1.jpg");
preload("image2.jpg");
preload("mask.jpg");
image.await("preloading_completed");

var i;

text("Press the spacebar as soon as you recognize the image. It will be presented longer and longer.");
await(4000);
text("");
await(1000);

waitfor {
    for (i = 1; i < 20; i++) {
        setimage("image1.jpg");
        await(16.66 * i);
        setimage("mask.jpg");
        await(500);
        clear();
        await(1500);
    }
} or {
    awaitkey(" ");
    log(i,"treshold1");
}

input("What did you see?","answer1");

text("");
await(1000);
text("Now we will repeat the procedure with a different image");
await(3000);
text("Again: Press the spacebar as soon as you recognize the image.");
await(4000);
text("");
await(1000);


waitfor {
    for (i = 1; i < 20; i++) {
        setimage("image2.jpg");
        await(16.66 * i);
        setimage("mask.jpg");
        await(500);
        clear();
        await(1500);
    }
} or {
    awaitkey(" ");
    log(i,"treshold2");
}

input("What did you see?","answer2");

text("");
await(1000);
text("Thank you for participating!");
await(3000);

You can download the files as follows: Click on the file (link) and then right-click and choose Save as... from the menu. Some media files (e.g., sound) will have a download button for this purpose.


image1.jpg

image2.jpg

mask.jpg
This experiment has no YouTube links