// Copyright (C) 2021, Mindee. // This program is licensed under the Apache License version 2. // See LICENSE or go to for full license details. // Detection cfg export const DET_MEAN = 0.785; export const DET_STD = 0.275; export const DET_CONFIG = { db_mobilenet_v2: { value: "db_mobilenet_v2", label: "DB (MobileNet V2)", height: 512, width: 512, path: "models/db_mobilenet_v2/model.json", }, }; // Recognition cfg export const REC_MEAN = 0.694; export const REC_STD = 0.298; export const RECO_CONFIG = { crnn_vgg16_bn: { value: "crnn_mobilenet_v2", label: "CRNN (MobileNet V2)", height: 32, width: 128, path: "models/crnn_mobilenet_v2/model.json", }, }; export const VOCAB = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~°£€¥¢฿àâéèêëîïôùûüçÀÂÉÈÊËÎÏÔÙÛÜÇ";