real-time-data

ZKEmkeeper: Events not triggering, DLL look like not working

前提是你 提交于 2019-12-06 16:01:56
I'm stucked for a while trying to use zkemkeeper sdk to use on a application that uses a InBios(Controller) for fingerprint . While i trying to trigger some event nothing happen, i just created a Console Application for test the SDK before start implementing on ASP.NET MVC here is my code, i first connect to the device and then i add the event OnAttTransactionEx someone can point me what i'm doing wrong. Here is my code: private static void Main(string[] args) { CZKEMClass zkem = new CZKEMClass(); int idwErrorCode = 0; const string ipAddr = "10.0.1.240"; bool isConnected; try { isConnected =

How to stream opencv frame with django frame in realtime?

ぐ巨炮叔叔 提交于 2019-12-04 20:10:17
问题 I'm trying to use raspberry pi capture the image from USB camera and stream it with Django framework I have tried to use StreamingHttpResponse to stream the frame from Opencv2. However, it just shows 1 frame and not replacing the image. How can I replace the image in real time? Here is my code. from django.shortcuts import render from django.http import HttpResponse,StreamingHttpResponse import cv2 import time class VideoCamera(object): def __init__(self): self.video = cv2.VideoCapture(0) def

How to stream opencv frame with django frame in realtime?

浪尽此生 提交于 2019-12-03 13:00:33
I'm trying to use raspberry pi capture the image from USB camera and stream it with Django framework I have tried to use StreamingHttpResponse to stream the frame from Opencv2. However, it just shows 1 frame and not replacing the image. How can I replace the image in real time? Here is my code. from django.shortcuts import render from django.http import HttpResponse,StreamingHttpResponse import cv2 import time class VideoCamera(object): def __init__(self): self.video = cv2.VideoCapture(0) def __del__(self): self.video.release() def get_frame(self): ret,image = self.video.read() ret,jpeg = cv2

AngularFire2: Realtime Database: how to get key and value

Deadly 提交于 2019-11-29 02:12:02
I use AngularFire2 to get data from Firebase Database (realtime). What I have done: Firebase Database { “class” : { “student” : { “Tom” : “male”, “Mary” : “female”, “Peter” : “male”, “Laura” : “female” }, "numberOfStudent” : 10 } } app.component.ts import { AngularFireDatabase } from 'angularfire2/database'; import { Observable } from 'rxjs/Observable'; ... export class AppComponent { class: Observable<any>; students: Observable<any[]>; constructor(private db: AngularFireDatabase) { this.class = db.object(‘class’).valueChanges(); this.students = db.list(‘class/student’).snapshotChanges(); } }

AngularFire2: Realtime Database: how to get key and value

随声附和 提交于 2019-11-27 21:50:57
问题 I use AngularFire2 to get data from Firebase Database (realtime). What I have done: Firebase Database { “class” : { “student” : { “Tom” : “male”, “Mary” : “female”, “Peter” : “male”, “Laura” : “female” }, "numberOfStudent” : 10 } } app.component.ts import { AngularFireDatabase } from 'angularfire2/database'; import { Observable } from 'rxjs/Observable'; ... export class AppComponent { class: Observable<any>; students: Observable<any[]>; constructor(private db: AngularFireDatabase) { this

plotting real time Data on (qwt )Oscillocope

懵懂的女人 提交于 2019-11-26 15:33:49
I'm trying to create a program, using Qt (c++), which can record audio from my microphone using QAudioinput and QIODevice. Now, I want to visualize my signal Any help would be appreciated. Thanks [Edit1] - copied from your comment (by Spektre) I Have only one Buffer for both channel I use Qt , the value of channel are interlaced on buffer this is how I separate values for ( int i = 0, j = 0; i < countSamples ; ++j) { YVectorRight[j]=Samples[i++]; YVectorLeft[j] =Samples[i++]; } after I plot YvectorRight and YvectorLeft. I don't see how to trigger only one channel hehe done this few years back