commas
This commit is contained in:
20
api/src/index.js
Normal file
20
api/src/index.js
Normal file
@@ -0,0 +1,20 @@
|
||||
import RestApi from './rest';
|
||||
import PlateRecognizr from './api/PlateRecognizr';
|
||||
|
||||
class Main {
|
||||
api;
|
||||
alpr;
|
||||
|
||||
constructor() {
|
||||
this.api = new RestApi();
|
||||
this.alpr = new PlateRecognizr();
|
||||
}
|
||||
|
||||
init() {
|
||||
this.api.init();
|
||||
this.alpr.handle();
|
||||
}
|
||||
}
|
||||
|
||||
const main = new Main();
|
||||
main.init();
|
||||
Reference in New Issue
Block a user