mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 23:32:54 +08:00
Moved detectorfactory implementation to its own source
This commit is contained in:
7
src/openalpr/detection/detectorfactory.cpp
Normal file
7
src/openalpr/detection/detectorfactory.cpp
Normal file
@@ -0,0 +1,7 @@
|
||||
#include "detectorfactory.h"
|
||||
|
||||
Detector* createDetector(Config* config)
|
||||
{
|
||||
return new DetectorCPU(config);
|
||||
}
|
||||
|
@@ -21,11 +21,9 @@
|
||||
#define OPENALPR_DETECTORFACTORY_H
|
||||
|
||||
#include "detectorcpu.h"
|
||||
#include "config.h"
|
||||
|
||||
Detector* createDetector(Config* config)
|
||||
{
|
||||
return new DetectorCPU(config);
|
||||
}
|
||||
Detector* createDetector(Config* config);
|
||||
|
||||
#endif /* DETECTORFACTORY_H */
|
||||
#endif /* OPENALPR_DETECTORFACTORY_H */
|
||||
|
||||
|
Reference in New Issue
Block a user