Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
topdu
/
OpenOCR-Demo
like
6
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
1266f28
OpenOCR-Demo
/
opendet
/
modeling
/
__init__.py
topdu
openocr demo
29f689c
about 2 months ago
raw
Copy download link
history
blame
Safe
200 Bytes
import
copy
from
.base_detector
import
BaseDetector
__all__ = [
'build_model'
]
def
build_model
(
config
):
config = copy.deepcopy(config)
det_model = BaseDetector(config)
return
det_model