RED-7669: optimize OCR-module performance
* moar sigsegv
This commit is contained in:
parent
19747cbca5
commit
12217f2459
@ -17,8 +17,7 @@ public class NativeMemoryAllocationUtils {
|
||||
FloatBuffer orient_confB = FloatBuffer.allocate(1);
|
||||
PointerByReference script_nameB = new PointerByReference();
|
||||
FloatBuffer script_confB = FloatBuffer.allocate(1);
|
||||
DetectionScriptBuffers buffers = new DetectionScriptBuffers(orient_degB, orient_confB, script_nameB, script_confB);
|
||||
return buffers;
|
||||
return new DetectionScriptBuffers(orient_degB, orient_confB, script_nameB, script_confB);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user