Shiny Reverse Correlation: Sampling Subgroup CIs

This shiny app facilitates the generation of the so-called ‘subgroup’ classification images (CIs) for a two-phase reverse correlation methodology.

Read the associated Mediumblogpost

The use of subgroup CIs is a currently recommended practice in psychological research involving a two-phase variant of the psychophysical reverse correlation method (e.g. Dotsch & Todorov, 2012). In practice, this implies using the data collected during the first phase (reverse correlation task) to generate multiple group-level CIs associated with the same target construct condition (i.e. several ‘Trustworthy’ subgroup CIs vs. single ‘Trustworthy’ group CI ). These are then rated in the second phase by another group of raters.

Using subgroup CIs helps decrease the number of images to rate in the second phase, compared to the alternative but more time consuming option of rating all the individual CIs generated by each participant in the first phase. This approach circumvents the issues (e.g. type I error inflation) associated with using a single group CI in the second phase (see Cone et al., 2021).

For more details see:

Random File Sampler

I wrote this program with the goal of automating the random sampling of face images from databases. This is useful to anyone looking to prevent any bias in image file selection. This program randomly samples (without replacement) files of any given extension from a folder. The sampled files are then copied to a new folder together with a .txt file listing the sampled file names. For reproducibility, the program uses a fixed pseudo-random generator seed number (seed=1234). Alternatively, you can set your own custom seed number. In the last updates, I added a user-friendly interface and created a Windows installer for the application.

For Windows users:

Download Random File Sampler (Windows Installer, 18.7 MB)

For Mac OS users (source code only):

Download Random File Sampler source code (18.2 MB)

Face Masker

Real-time webcam face masking

This application applies a facial mask to any faces captured by the webcam. In addition, it includes a “Save snapshot” feature that captures the current frame and saves it as a JPEG file. It was developed during my free time as a hobby project. There are some limitations in version 1.0 that need improvement, especially the “laggy” frame rate.

Running the app: For now, the only way to run the Face Masker app is from source code “~/src/” script.

Download Face Masker source code