Problem with FaceApi-stucks at detecting WDM device
Posted: 14 August 2010 09:14 AM   [ Ignore ]
New Member
Rank
Total Posts:  3
Joined  2010-08-13

Hello everybody,

first i like to say thanks to you guys of Code Laboratories for your great work! The PS3 Eye Cam is working well so far on my system(Win7 x64 Ultimate).

Unfortunatly I’ve one issue(problem) with FaceApi! I start the prog and it stucks at -detecting WDM Cameras- Behind the loading logo is an error message that says “failed to read friendly name:ERROR_FILE_NOT_LOADED” After browsing through the web i guess it has something to do with the device-driver. Maybe i’m wrong but i’m only a user and don’t have any knowledge of programming etc. at all unfortunatly!

May you guys can help me out and give me a advice how to solve the issue.

Thanks so far!

Profile
 
 
Posted: 14 August 2010 09:07 PM   [ Ignore ]   [ # 1 ]
Sr. Member
Avatar
RankRankRankRank
Total Posts:  162
Joined  2009-09-17

Could you check with the FaceAPI specs to see if it supports DirectShow input? Or just WDM?

Profile
 
 
Posted: 15 August 2010 02:57 AM   [ Ignore ]   [ # 2 ]
New Member
Rank
Total Posts:  3
Joined  2010-08-13

Hello KrisM,

i checked the FaceApi specs but can’t find something. I found a piece of sample code of the FaceApi

Sample faceAPI Code

{
// STARTUP

smAPIInit();
// Register windows driver model (WDM) cameras
smCameraRegisterCategory(SM_API_CAMERA_CATEGORY_WDM);
// Create a new Head-Tracker engine
smEngine engine;
smEngineCreate(SM_API_ENGINE_LATEST_HEAD_TRACKER,&engine;);
// Register a callback function to receive the tracking data
smHTRegisterHeadPoseCallback(engine,0,receiveHeadPose);
// Create and show a video-display window
smVideoDisplay video_display;
smVideoDisplayCreate(engine,&video;_display,0,TRUE);
// Start tracking
smEngineStart(engine);

// SHUTDOWN

// Destroy engine
smEngineDestroy(&engine;);
// Destroy video display
smVideoDisplayDestroy(&video;_display);
smAPIQuit();

}

// Callback routine – called by head-tracker internal thread.
void receiveHeadPose(void *,smHTHeadPose head_pose)
{

// Position of head is in struct head_pose.head_pos as a 3D x,y,z coordinate in meters
// measured releative to the camera, where Z is the camera axis.

// Rotation of head is in struct head_pose.head_rot as a 3D x,y,z euler angle rotation in radians
// measured releative to the camera, where Z is the camera axis.

// Position of left and right eyeball centers also available as 3D position coordinates.
// as head_pose.left_eye_pos and head_pose.right_eye_pos

}

And in the installation path of FaceApi is a text file—->...\bin\resource\cam_whitelist.txt it “says”

# Cameras listed here will avoid functionality testing on startup
# This is usually required if the camera driver is ok except for the condition where the
# camera is not connected.
# The camera name must match the name of the video Capture Source filter in Directshow.
PS3Eye Camera

Hope this helps to solve the problem.

Thank you so much

Profile
 
 
Posted: 16 August 2010 10:13 AM   [ Ignore ]   [ # 3 ]
New Member
Rank
Total Posts:  3
Joined  2010-08-13

Hello everybody,

i’m spinning around and can’t fix this problem! I need to give up due missing knowledge of issue.
May one of you have a final davice how to go one?

Thx flashleitz

Profile
 
 
Posted: 18 August 2010 09:34 AM   [ Ignore ]   [ # 4 ]
Sr. Member
Avatar
RankRankRankRank
Total Posts:  162
Joined  2009-09-17

Flashletiz… I do not believe the FaceAPI supports DirectShow input devices… as i noted it may be best to send an email over to FaceAPI developers as it is not our software.

Profile
 
 
 
 


RSS 2.0     Atom Feed