The steps of the algorithm and a front-end to the x3prplus R package have been created as a Shiny Web Application. The application can be accessed at https://erichare.shinyapps.io/x3prplus
One can still follow the instructions at the bottom to reproduce the study, but for a comparison of two bullet lands, the web application is a simpler approach.
This repository contains the R package x3prplus
, along with supporting resources for manipulating bullet images to determine whether two bullets are a match (fired from the same gun barrel) The repository branches are organized as follows:
x3prplus
The x3prplus
package can be installed using devtools
:
devtools::install_github("heike/x3prplus")
The Hamby study bullets can be assessed using this package, as detailed in Hare, Hofmann, Carriquiry (2016) (See papers/jcgs-2016
). To do so, follow these steps:
x3pr
(Petraco 2015) with install_github("npetraco/x3pr")
(See http://www.github.com/npetraco/x3pr for more information)x3prplus
with devtools::install_github("heike/x3prplus")
install.packages(c("dplyr", "ggplot2", "gridExtra", "zoo"))
~/Desktop/Hamby252_3DX3P1of2
should contain all the images of the form "Br1 Bullet 1-1.x3p", and a path such as ~/Desktop/Hamby252_3DX3P2of2
should contain all the images of the form "Ukn Bullet B-1.x3p"csvs
in the same location that contains the Hamby folderspapers/jcgs-2016/code/checkBullets.R
Make sure to set the variables knowndatadir
and unknowndatadir
to the two directories from step 5.papers/jcgs-2016/code/complete_hamby.R
. Again, make sure to set the variables knowndatadir
and unknowndatadir
to the two directories from step 5.papers/jcgs-2016/code/evaluation_hamby.R
. bullet-stats.csv
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.