1
Answer

Microsoft Cognitive on Raspberry PI

Alex Goranov

Alex Goranov

7y
265
1
Hello everyone,
 
I am doing an Internship and my speciality is Java/Javascript. However, at work they proposed that we implement real-time face recognition features similar to the ones here:
 
https://github.com/Microsoft/Cognitive-Samples-IntelligentKiosk
 
 I am running on Windows 10, so I just cloned and compiled in Visual Studio 2017 as suggested but there appear to be 2 issues:
 
   1) I cannot use real-time face features. It works on the basis of snipping a photo and analyze. 
 
   2) I want it to be able to run on a Raspberry PI (I have model 3).
 
Can I ask for your advice as how to proceed?
 
Thank you! 
Answers (1)
0
B B

B B

NA 5 351 8y

Hi Bikesh Srivastava, I didn't exactly understand what you want to convey. I am doing my service method implementation in base class only.

public class Monitor : IMonitor
{
   public Task AddMonitor(Monitor mo)
   {
   // Implementation goes here 
   }
   public Task RemoveMonitor(Monitor mo)
   {
       // Implementation goes here
   }
}
 

But anyway my code id now working. Once i decorated my IMonitorCallback with (IsOneWay = true)] its started working perfectly.

interface IMonitorCallback
{
   [OperationContract(IsOneWay = true)]
   void OnAdded(Monitor data);
 
   [OperationContract(IsOneWay = true)]
   void OnRemoved(Monitor data);
}
 
0
Bikesh Srivastava

Bikesh Srivastava

NA 19.8k 835k 8y
I think you need to understand of WCF in deep.
because if you are creating interface  and implement then you have to declare all method in base class.
0
Vignesh Mani

Vignesh Mani

NA 13.4k 938.2k 8y
http://stackoverflow.com/questions/22466523/405-method-not-allowed-wcf-web-service-after-second-request