face-recognition-cuda 0.9.3 to 0.9.3a for CUDA 10
+ updated opencv plugin for refactor but forgot to mention in last commitmerge-requests/63/head
parent
1727f2c5e7
commit
fef3ca8eb7
|
|
@ -8,7 +8,7 @@
|
|||
"express": "^4.16.2",
|
||||
"moment": "^2.19.2",
|
||||
"socket.io": "^2.0.4",
|
||||
"face-recognition-cuda": "0.9.3"
|
||||
"face-recognition-cuda": "^0.9.3a"
|
||||
},
|
||||
"devDependencies": {},
|
||||
"scripts": {
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ s.onPluginEventExtender(function(d,cn,tx){
|
|||
}
|
||||
})
|
||||
// OpenCV Init />>
|
||||
s.detectObject=function(buffer,d,tx,frameLocation){
|
||||
s.detectObject = function(buffer,d,tx,frameLocation){
|
||||
var detectStuff = function(frameBuffer,callback){
|
||||
if(d.mon.detector_lisence_plate==="1"){
|
||||
s.detectLicensePlate(buffer,d,tx,frameLocation)
|
||||
|
|
@ -113,7 +113,9 @@ s.detectObject=function(buffer,d,tx,frameLocation){
|
|||
}
|
||||
if(frameLocation){
|
||||
fs.readFile(frameLocation,function(err,buffer){
|
||||
detectStuff(buffer)
|
||||
if(!err){
|
||||
detectStuff(buffer)
|
||||
}
|
||||
fs.unlink(frameLocation,function(){
|
||||
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue