This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
///////// ARMA3 Config CSV EXPORT | |
///////// Usage: [name,CfgPatches name] | |
///////// Usage: [name] to export bis stuff | |
///////// Usage: Paste everything below in the debug console and run it (or exec as script) | |
///////// ToDo: Filter weapon variants (with sights etc) | |
private ["_CfgPatches","_configPath","_collectionName","_getClass","_out","_wepsEx","_itemsEx","_magsEx","_backEx","_weapons","_backpacks","_magazines","_glasses","_configName","_picture","_parents","_type","_classname","_mags","_mass","_capacity","_armor","_passthrough","_append","_ammo"]; | |
_CfgPatches = false; | |
_configPath = ""; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import argparse | |
import cv2 | |
import dlib | |
import json | |
import numpy | |
import skimage | |
from pathlib import Path | |
from tqdm import tqdm | |
from umeyama import umeyama |