Skip to content

dliang293/HOComp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

HOComp: Interaction-Aware Human-Object Composition

NeurIPS 2025

This is the official repository for our paper:

๐Ÿ“„ HOComp: Interaction-Aware Human-Object Composition
๐Ÿ“š Preprint available on arXiv


๐Ÿ“ Abstract

HOComp is a novel framework for harmonizing foreground objects into human-centric backgrounds.
By leveraging a Flux.1 Kontext base model and a novel Sequence Concatenation strategy, the method achieves precise control over humanโ€“object interactions with high fidelity.


๐Ÿ› ๏ธ Custom Inference

To generate a specific interaction, provide background / foreground images, the interaction prompt, and the foreground bounding box:

python run_inference.py \
  --prompt "A young man holding a vintage camera" \
  --bg_path "examples/background.jpg" \
  --fg_path "examples/camera.png" \
  --box "[300 300 700 700]" 

๐Ÿ“Œ Citation

If you find our work helpful, please consider citing:

@article{liang2025hocomp,
  title={HOComp: Interaction-Aware Human-Object Composition},
  author={Dong Liang and Jinyuan Jia and Yuhao Liu and Rynson W. H. Lau},
  journal={arXiv preprint arXiv:2507.16813},
  year={2025}
}

About

Official repository for HOComp: Interaction-Aware Human-Object Composition

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages