Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Code for CVPR2018 - Human-centric Indoor Scene Synthesis Using Stochastic Grammar.

License

NotificationsYou must be signed in to change notification settings

SiyuanQi-zz/human-centric-scene-synthesis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

The algorithm is described in aCVPR 2018 paper (supplementary materials).

Running in Virtual Machine

Tested with VMWare workstation 14.1.1. VirtualBox should also workhttps://drive.google.com/file/d/12hRpv07lvorx9-Yv6fSrMPAECFJlxWHm/view?usp=sharingLogin password: cvpr


Compile from Source

Requirements

Tested in Ubuntu 16.04

  • OpenCV, Boost library, CGAL, Eigen
sudo apt-get install libopencv-dev libcgal-dev libcgal-qt5-dev libboost-all-dev libeigen3-dev

Running the sampler

cd src/cppmkdir build && cd buildcmake ..make -j8./cpp/cpp0
  • The sampled results are saved as txt and json files in `tmp/samples'. The txt files can be opened and viewed byRoomArranger (free to use on Linux).
    1. Open RoomArranger (tested on 9.4.1), click "Start New Project" -> "OK".
    2. Click "Project" -> "Import" -> "Object Listing", and select the sample txt file you want to visualize as "Source".
    3. Check the box of "Column Headings". You should see a change of "Assign attributes". Click "OK".
    4. The sample file should be loaded by now. You can change the room size to match the sampled room size. The sampled room is represented by a box like other objects, and you can see its size by click on it. The room size can be changed by clicking on "Project Properties" on the tool bar or pressing ctrl+T.

Visualizing the results

  • Change the paths insrc/python/config.py
  • Runsrc/python/visualize_activity.py. The visualization results will be saved in 'tmp/figures'.

If you find this code useful, please cite our work with the following bibtex:

@inproceedings{qi2018human,    title={Human-centric Indoor Scene Synthesis Using Stochastic Grammar},    author={Qi, Siyuan and Zhu, Yixin and Huang, Siyuan and Jiang, Chenfanfu and Zhu, Song-Chun},    booktitle={Conference on Computer Vision and Pattern Recognition (CVPR)},    year={2018}}

About

Code for CVPR2018 - Human-centric Indoor Scene Synthesis Using Stochastic Grammar.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp