GOS dataset is a large-scale, diverse synthetic dataset generated based on Grand Auto V, which consists of 4,632,500 images, contains 231,625 scenes, and attached fine-grained semantic annotations such as viewpoint and distance.
In this repo, we will release the collection tools of GOS. Due to the volume of the whole dataset and Rockstar Games' policy, we can't directly upload the dataset. If you are interested to the dataset, please feel free to contact me.
Details are shown in the project homepage.
GOS-Collector is a tool to generate outdoor scene images in GTA V. It is a custom plugin running along with GTA V, written in C#.
Rockstar Games allows the players to develop the mod for noncommercial or personal use, and can only be used in offline version.
All mods must be used in the offline version of GTA V!
- Visual Studio 2019 (with .Net Framework ≥ 4.8)
- Script Hook V
- ScriptHookVDotNet v3.4.0
- Json.NET v13.0.1
- OpenCVSharp v4.5.3
- Navigate to
GOS-Collector/
directory, use Visual Studio to open the projectGOS-Collector.sln
. - Restore all NuGet package in the project. (Deleted when upload code)
- Open Property->Generate event, add this command in Postgenerative event.
COPY "$(TargetPath)" "Your GTAV fold\scripts"
- Make sure Configution is Release, Platform is Any CPU, and then compile the project. As a result, the script file
GOS-Collector.dll
and dependency file will be generated inGOS-Collector/GOS-Collector/x64/Release
- Following Script Hook V installation steps:
- Copy
ScriptHookV.dll
anddinput8.dll
to the game's main folder (where GTA5.exe is located).
- Copy
- Following SHVDN installation steps:
- Copy
ScriptHookVDotNet.asi
andScriptHookVDotNet2/3.dll
to your GTA V directory - Copy or create
ScriptHookVDotNet.ini
in GTA V directory, change the content toConsoleKey=F5 ReloadKey=Insert
- Create a
scripts/
folder in your GTA V directory (if not already happened).
- Copy
- GOS-Collector installation
- Copy all dll files generated in Compilation part to
scripts/
folder. - Copy
GOS-Collector.ini
toscripts/
folder - Create
GOS-Coll/
folder in GTA V directory. - Copy
GOS-Data/GOS-Place.txt
toGOS-Coll/
folder, and rename it toplace_load.txt
- Copy
GOS-Data/config_capture.json
toGOS-Coll/
folder, and modified to your own setting
- Copy all dll files generated in Compilation part to
- [F7] Menu Trigger
- [F10] Show Coordinate
- [F11] Pause/Resume Capture
- [F12] Stop Capture
- [Num1] Capture
- [1] Start/End
- [2] Pause/Resume
- [9] Read Place
- [Num2] Record
- Single Record / Auto Record / ...
- [Num3] World
- Change Time/Weather/Camera/...
- All scripts must be used in the offline version of GTA V! Otherwise, your game account will be banned.
- The recommended resolution for the game is
1920x1080
with boardless mode. Be careful not to modify the resolution while the script is loaded. If you try to use other resolution in collection process, please modify the corresponding part of the code. - There are some glitches in
GTAVisionExport
, which makes game stucked or force quited during collection process. We try to solve the problem but the difficulty is beyond our control. If this happens to you, please restart the game and restart the capture process
GOS-Selector helps remove failure cases in the collection section, which is written in Python.
Will complete in the future...
Some code borrows from GTAVisionExport.
If you find this project useful for your research, please cite:
@inproceedings{xie2022gos,
title={GOS: A Large-Scale Annotated Outdoor Scene Synthetic Dataset},
author={Xie, Mingye and Liu, Ting and Fu, Yuzhuo},
booktitle={ICASSP 2022-2022 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)},
pages={3244--3248},
year={2022},
organization={IEEE}
}