Face detection error

General information about Neurotechnology and its software

Face detection error

Postby micklepick » May 04, 2018 13:17

Hi, there is a problem in detection
Code: Select all
NImage image = NImage.FromMemory(//input byte[] array);
NBiometricClient client = new NBiometricClient();
client.DetectFaces();

here if input image is huge (for example 3700 x 2800 3 mb size), detect sometimes throws NAggregateException with InnerException 'Out of memory'.
What are the possible reasons for such behavior?
micklepick
 
Posts: 6
Joined: Mar 29, 2018 09:21

Re: Face detection error

Postby MartynasV » May 04, 2018 14:19

micklepick wrote:Hi, there is a problem in detection
Code: Select all
NImage image = NImage.FromMemory(//input byte[] array);
NBiometricClient client = new NBiometricClient();
client.DetectFaces();

here if input image is huge (for example 3700 x 2800 3 mb size), detect sometimes throws NAggregateException with InnerException 'Out of memory'.
What are the possible reasons for such behavior?

Hello micklepick,

Not enough memory.
Build application as 64bit.
Martynas V
Neurotechnology
MartynasV
Neurotechnology
 
Posts: 356
Joined: Feb 27, 2015 11:24
Location: Vilnius, Lithuania


Return to Public

Who is online

Users browsing this forum: johnsn and 4 guests

cron