added global const scale = 1; updated implementation of methods according to their definitions; implemented detect&sort()
added global const scale = 1; updated implementation of methods according to their definitions; implemented detect&sort()

sk413025/carcv,oskopek/carcv,sk413025/carcv,oskopek/carcv,sk413025/carcv,oskopek/carcv,oskopek/carcv,sk413025/carcv,sk413025/carcv,oskopek/carcv,oskopek/carcv,sk413025/carcv