67 lines
1.9 KiB
JSON
67 lines
1.9 KiB
JSON
{
|
|
"id": "e8172110-ec08-421b-a6f5-842e6451911f",
|
|
"snapshot": "gimp",
|
|
"instruction": "Open 'character.png' in GIMP and extract the pixel art character. Save the selected character as 'character_gimp.png'. Additionally, write a Python script to automate this selection process, ensuring it precisely mimics the manual extraction done in GIMP. Output the result from the script as 'character_code.png'.",
|
|
"source": "",
|
|
"config": [
|
|
{
|
|
"type": "download",
|
|
"parameters": {
|
|
"files": [
|
|
{
|
|
"url": "https://drive.google.com/uc?export=download&id=1Tf7MvqBMHuIhvKmk-Ryr_qmzmkACFjxB",
|
|
"path": "/home/user/Desktop/character.png"
|
|
},
|
|
{
|
|
"url": "https://drive.google.com/uc?export=download&id=1wKG5X6LaN0tShsAK4lFg3OyFg8OGYYZg",
|
|
"path": "/home/user/Desktop/character_no_background_gold.png"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "launch",
|
|
"parameters": {
|
|
"command": [
|
|
"gimp",
|
|
"/home/user/Desktop/character.png"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/",
|
|
"related_apps": [
|
|
"gimp",
|
|
"vs_code"
|
|
],
|
|
"evaluator": {
|
|
"func": [
|
|
"check_structure_sim",
|
|
"check_structure_sim"
|
|
],
|
|
"result": [
|
|
{
|
|
"type": "vm_file",
|
|
"path": "/home/user/Desktop/character_gimp.png",
|
|
"dest": "character_gimp.png"
|
|
},
|
|
{
|
|
"type": "vm_file",
|
|
"path": "/home/user/Desktop/character_code.png",
|
|
"dest": "character_code.png"
|
|
}
|
|
],
|
|
"expected": [
|
|
{
|
|
"type": "vm_file",
|
|
"path": "/home/user/Desktop/character_no_background_gold.png",
|
|
"dest": "character_no_background_gold.png"
|
|
},
|
|
{
|
|
"type": "vm_file",
|
|
"path": "/home/user/Desktop/character_no_background_gold.png",
|
|
"dest": "character_no_background_gold.png"
|
|
}
|
|
]
|
|
}
|
|
} |