Skip to content

shahinsharifi/Scalpel-HS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SCALPEL-HS

This project is an implementation of the paper "What Should You Know? A Human-In-the-Loop Approach to Unknown Unknowns Characterization in Image Recognition" by Shahin Sharifi Noorian, Sihang Qiu, Ujwal Gadiraju, Jie Yang, and Alessandro Bozzon, presented at the ACM Web Conference 2022.

The project consists of a crowdsourcing tool that helps in detecting and characterizing unknown unknowns in image recognition models. It leverages human intelligence to gather images that are potentially difficult for the machine, and provides a rich, descriptive characterization of unknown unknowns.

The project is divided into two main parts:

  1. Crowdsourcing Client: An Angular application that serves as the user interface for the crowdsourcing tasks. It provides instructions and tasks to the users, and collects their responses.

  2. Crowdsourcing Server: A Java server that handles the backend operations, including data management and communication with the client.

Getting Started

Prerequisites

  • Java 1.6 or higher
  • Node.js and npm
  • Angular CLI

Installation

  1. Clone the repository:
git clone https://github.com/your-repo/crowdsourcing-tool.git
  1. Navigate to the crowdsourcing/crowdsourcing-client directory and install the dependencies:
cd crowdsourcing/crowdsourcing-client
npm install
  1. Build the Angular project:
ng build
  1. Navigate to the crowdsourcing/crowdsourcing-server directory and build the Java project:
cd ../crowdsourcing-server
mvn clean install

Usage

  1. Start the server:
java -jar target/crowdsourcing-server-1.0.jar
  1. Start the client:
cd ../crowdsourcing-client
ng serve
  1. Open a web browser and navigate to http://localhost:4200/ to start using the crowdsourcing tool.

Testing

Unit Tests

Run the unit tests for the client using Karma:

cd crowdsourcing/crowdsourcing-client
ng test

End-to-End Tests

Run the end-to-end tests for the client using Protractor:

ng e2e

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Citation

If you use this tool in your research, please cite our paper:

@inproceedings{sharifi2022should,
  title={What Should You Know? A Human-In-the-Loop Approach to Unknown Unknowns Characterization in Image Recognition},
  author={Sharifi Noorian, Shahin and Qiu, Sihang and Gadiraju, Ujwal and Yang, Jie and Bozzon, Alessandro},
  booktitle={Proceedings of the ACM Web Conference 2022},
  pages={882--892},
  year={2022}
}

Contact

For any questions or issues, please open an issue on GitHub or contact the authors of the paper.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published