Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

Fingerprint Reader

[es] :: Pascal / Delphi / Kylix :: Fingerprint Reader

[ Pregleda: 1398 | Odgovora: 3 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

doroz
Zoro Zoro

Član broj: 37127
Poruke: 39
*.adsl.net.t-com.hr.



Profil

icon Fingerprint Reader12.05.2011. u 10:20 - pre 156 meseci
Imam fingerprint čitač (Equip USB FingerPrint Reader)

Ako je mozda neko radio nesto s fingerprintom, dobro bi mi dosla pomoc.
Sve sta mi treba je ocitati s sekenra i usporediti s bazom.

Pa ako ima neko da mi pomogne bio bi veoma zahvalan.

Da li postoji neka komponenta ili neki primjer, puno bi mi pomoglo.
 
Odgovor na temu

doroz
Zoro Zoro

Član broj: 37127
Poruke: 39
*.adsl.net.t-com.hr.



Profil

icon Re: Fingerprint Reader13.05.2011. u 13:51 - pre 156 meseci
Evo dosao sam do izvlacenja slike...

u C++ pise ovako

Code:


protected:
        uint8*            m_pRawImage;

f(AT_OK == ATCopyImagePixels(m_pRawImage, pApiMsg->pMessageData))
            pFingerprintWnd->SetImage(m_pRawImage, wImageWidth, wImageHeight);


ovo je funkcija iz dll...

Code:
/////////////////////////////////////////////////////////////////////////////
//
// Function:    ATCopyImagePixels( uint8* pPixelBuffer
//                                   void* pImageItem)
//
// Purpose:    Copys the raw pixels from an internal image buffer into
//        the users buffer. The user buffer must be large enough to hold all
//        the pixel data. Normally the appication will call ATGetImagePixelBufferSize
//        to determine the size of the buffer to allocate.
//
// Parameters:    pPixelBuffer:    Pointer to user buffer for the raw pixel data
//                pImageItem:        Pointer to the internal image struct.
//
// Returns:        AT_OK or AT_INVALID_PARAMETER
//
/////////////////////////////////////////////////////////////////////////////
ATDLL_API AT_RESULT_CODE __stdcall ATCopyImagePixels(uint8* pPixelBuffer, void* pImageItem);


Neznam kako da dobije tu sliku m_pRawImage

pApiMsg->pMessageData imam

definirao sam ovako...

Code:
TATCopyImagePixels = function(var pPixelBuffer: PChar; const pImageItem: AT_API_MSG_TYPES): AT_RESULT_CODES; stdcall;


Ovako pozivam

Code:

var ai: PChar;
ATCopyImagePixels(ai, Poruka);


ali dobivam nazad poruku da je invalid parameter

 
Odgovor na temu

savkic
Igor Savkić

Moderator
Član broj: 92186
Poruke: 2739



+92 Profil

icon Re: Fingerprint Reader13.05.2011. u 20:20 - pre 156 meseci
> ATCopyImagePixels( uint8* pPixelBuffer, void* pImageItem)
> TATCopyImagePixels = function(var pPixelBuffer: PChar; const pImageItem: AT_API_MSG_TYPES): AT_RESULT_CODES; stdcall;

Nije ti dobra definicija, otprilike ovako treba:

function ATCopyImagePixels(APixelBuffer: PByte; AImageItem: Pointer): AT_RESULT_CODE; stdcall;


 
Odgovor na temu

doroz
Zoro Zoro

Član broj: 37127
Poruke: 39
*.adsl.net.t-com.hr.



Profil

icon Re: Fingerprint Reader16.05.2011. u 13:35 - pre 156 meseci
Ne radi nikako

Koristim Authentec SDK

Ne mogu nikako prepisati C++ code u Delphi.

Ako ima neko ko je radio s tim platit cu... samo da radi.
 
Odgovor na temu

[es] :: Pascal / Delphi / Kylix :: Fingerprint Reader

[ Pregleda: 1398 | Odgovora: 3 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.