GithubHelp home page GithubHelp logo

remark's Introduction

ReMark

This repository provides the source code used in ReMark: Privacy-preserving Fiducial Marker System via Single-pixel Imaging accepted in MobiCom 2023. Please cite our paper if it helps your research.

Requirements

  • Python 3.6 or newer

Installation

  1. Clone this repository.
  2. Install Python packages: <python> -m pip install -r requirements.txt
  3. Install a PyTorch version according to your computing platform.

Usage

  • Identify marker ID from observations:

    cd src
    <python> demo.py
    • prints details and shows reconstructed images.
  • Synthesize datasets:

    cd src
    <python> synthesize.py
    • generates dataset/recon_detection/clear_detection_sample=100000.pkl

      and dataset/recon_identification/clear_identification_sample=100000.pkl

  • Train reconstruction NNs:

    cd src
    <python> train_recon_detection.py 0
    • generates model/recon/model=[dcan_M=72]__train=[clear_detection_sample=100000]__rep=0/model.pt
    cd src
    <python> train_recon_identification.py 0
    • generates model/recon/model=[dcan_M=256]__train=[clear_identification_sample=100000]__rep=0/model.pt
  • Train alignment NNs:

    cd src
    <python> synthesize_and_reconstruct.py
    • generates dataset/align/dcan256_snr=15db_sample=100000.pkl
    cd src
    <python> train_align.py 0
    • generates model/align/model=[cnm]__train=[dcan256_snr=15db_sample=100000]__rep=0/model.pt

Notes on SPI hardware

This repository does not include the code that drives the SPI hardware in the paper. It is highly recommended to replace the outdated DMD and USRP with modern hardware, in which case the old code will not be suitable. Some observations collected by the outdated hardware are available in the data directory. The formats are documented in demo.py.

Citation

@inproceedings{10.1145/3570361.3613289,
    author = {Yu, Tzu-Hsu and Tsai, Hsin-Mu},
    title = {ReMark: Privacy-Preserving Fiducial Marker System via Single-Pixel Imaging},
    year = {2023},
    isbn = {9781450399906},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    url = {https://doi.org/10.1145/3570361.3613289},
    doi = {10.1145/3570361.3613289},
    booktitle = {Proceedings of the 29th Annual International Conference on Mobile Computing and Networking},
    articleno = {74},
    numpages = {15},
    keywords = {soft-decision decoding, single-pixel imaging, fiducial marker, retroreflective imaging, singularity-free embedding},
    location = {Madrid, Spain},
    series = {ACM MobiCom '23}
}

remark's People

Contributors

e841018 avatar

Stargazers

DaBNPS avatar Wei Li avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.