narugo1992 commited on
Commit
153e51c
·
verified ·
1 Parent(s): 1c33152

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +0 -44
README.md CHANGED
@@ -30,50 +30,6 @@ This dataset is particularly valuable for **computer vision tasks** including ch
30
 
31
  Keywords: **game-character**, **skins**, **artwork**, **computer-vision**, **multi-game**
32
 
33
- ## Usage
34
-
35
- The dataset can be accessed directly through the Hugging Face datasets library:
36
-
37
- ```python
38
- from datasets import load_dataset
39
-
40
- # Load the entire dataset
41
- dataset = load_dataset("deepghs/game_character_skins")
42
-
43
- # Access specific game collections
44
- arknights_skins = dataset["arknights"]
45
- azurlane_skins = dataset["azurlane"]
46
- genshin_skins = dataset["genshin"]
47
-
48
- # Example: List all characters from a specific game
49
- print(f"Arknights characters: {list(arknights_skins.keys())}")
50
-
51
- # Access specific character skins
52
- character_skins = arknights_skins["AA00"]
53
- print(f"Skins for AA00: {list(character_skins.keys())}")
54
- ```
55
-
56
- For direct file access using the dghs-imgutils library:
57
-
58
- ```python
59
- from dghs_imgutils import GameCharacterSkins
60
-
61
- # Initialize the dataset handler
62
- skins_dataset = GameCharacterSkins("deepghs/game_character_skins")
63
-
64
- # Get all available games
65
- games = skins_dataset.list_games()
66
- print(f"Available games: {games}")
67
-
68
- # Get characters for a specific game
69
- characters = skins_dataset.list_characters("arknights")
70
- print(f"Arknights characters: {characters[:5]}") # First 5 characters
71
-
72
- # Access specific character data
73
- character_data = skins_dataset.get_character("arknights", "AA00")
74
- print(f"Available skins for AA00: {character_data.skins}")
75
- ```
76
-
77
  ## Dataset Structure
78
 
79
  The dataset is organized hierarchically by game title, then by character identifier, with individual skin files:
 
30
 
31
  Keywords: **game-character**, **skins**, **artwork**, **computer-vision**, **multi-game**
32
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  ## Dataset Structure
34
 
35
  The dataset is organized hierarchically by game title, then by character identifier, with individual skin files: