Files
ieemoo-ai-conpurchase/floder/config.py
2023-11-23 15:09:39 +08:00

35 lines
1.1 KiB
Python

from yacs.config import CfgNode as CfgNode
_C = CfgNode()
cfg = _C
_C.RESIZE = 648
#Monitoring table of commodity identification System
_C.model_path = '../module/ieemoo-ai-conpurchase/model/now/best_model.pth'
_C.maskImg = '../module/ieemoo-ai-conpurchase/model/now/mask.jpg'
_C.maskImg1 = '../module/ieemoo-ai-conpurchase/model/now/mask1.jpg'
_C.maskAreaImg = '../module/ieemoo-ai-conpurchase/model/now/maskAreaImg.jpg'
_C.maskAreaImg1 = '../module/ieemoo-ai-conpurchase/model/now/maskAreaImg1.jpg'
_C.streamModel = '../module/ieemoo-ai-conpurchase/model/now/raft-things.pth'
_C.hFile = '../module/ieemoo-ai-conpurchase/document'
_C.videoPath = '../module/ieemoo-ai-conpurchase/videos'
#obs
_C.obs_access_key_id='LHXJC7GIC2NNUUHHTNVI'
_C.obs_secret_access_key='sVWvEItrFKWPp5DxeMvX8jLFU69iXPpzkjuMX3iM'
_C.obs_server='https://obs.cn-east-3.myhuaweicloud.com'
_C.obs_bucketName = 'ieemoo-ai'
#cos
_C.cos_secret_id = 'AKIDIVcVFnBMMLCqbFF6lPr6930tc8VlrlS0'
_C.cos_secret_key = 'oYGrJG2d3LTUPBoFTZVEmC1kQ1ObdTkr'
_C.cos_region = 'ap-shanghai'
_C.cos_Bucket = 'ieemoo-ai-1321281601'
#obs or cos
_C.obs = True
_C.cos = True