Face detection for haptek characters

  • 17 Replies
  • 15143 Views
*

wgb14

  • Trusty Member
  • ****
  • Electric Dreamer
  • *
  • 143
Face detection for haptek characters
« on: August 25, 2008, 06:01:25 pm »
Hi all,

Attached are two files that will allow you to integrate Face detection with your Haptek characters. The control currently recognises left, right, far away, normal and close. All you have to do is to use the ActiveX wrapper to any development enviroment along with Haptek and you are ready to go. Please note that the control offers a number of properties and methods that I will explain  some other time. If you want download it and experiment with it. Its free!!! You will need to install OpenCV on your PC to make this work

This is just to say thanks to Freddy for his great Hap explorer.

*

Maviarab

  • Trusty Member
  • **********
  • Millennium Man
  • *
  • 1231
  • What are you doing Dave?
    • The Celluloid Sage
Re: Face detection for haptek characters
« Reply #1 on: August 25, 2008, 06:09:52 pm »
Sure folks will find it handy :) thanks.

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6860
  • Mostly Harmless
Re: Face detection for haptek characters
« Reply #2 on: August 25, 2008, 06:47:54 pm »
Thanks  ;D  I will try and figure out how to use it!

*

wgb14

  • Trusty Member
  • ****
  • Electric Dreamer
  • *
  • 143
Re: Face detection for haptek characters
« Reply #3 on: August 25, 2008, 07:29:44 pm »
Actually it is quite simple

Call CtrlStart to initialise the control, Ctrl to stop it. The properties return the abs coordinates of the head (x,y) and descriptions (left right, etc). The property no face will return whether the face detection system can see the user or not. Thats all you need. The rest are settings of the control that you don't need to worry about. Let me know if you find any interesting applications.

I am still trying to find the solution for Haptek. It seems that the APi can load a script, pause it, but if you load another script the previous one is gone. If i will find a solution i will post it here.


*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6860
  • Mostly Harmless
Re: Face detection for haptek characters
« Reply #4 on: August 25, 2008, 10:28:43 pm »
Thanks.  Also see my comment on your other post regarding Hatpek.

*

standog

  • Guest
Re: Face detection for haptek characters
« Reply #5 on: August 26, 2008, 09:27:32 am »
Thanks sounds good.
Sorry for being a bit thick, but where do you put the two .dll's

*

wgb14

  • Trusty Member
  • ****
  • Electric Dreamer
  • *
  • 143
Re: Face detection for haptek characters
« Reply #6 on: August 26, 2008, 12:18:46 pm »
It depende sont he kind of development enviroment that you are using. If it is .NET then put them in the bin -> debug folder and from the tollbox search for the ActiveX OpenCV wrapper. The ActiveX wrapper works like the old ocx technology. You can access its properties and methods almost from any program that supports ActiveX

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6860
  • Mostly Harmless
Re: Face detection for haptek characters
« Reply #7 on: August 26, 2008, 08:08:41 pm »
I was assuming you could install OpenCV on windows, but I can only find information on Linux installation here:

http://opencvlibrary.sourceforge.net/

Got any pointers ?

*

wgb14

  • Trusty Member
  • ****
  • Electric Dreamer
  • *
  • 143
Re: Face detection for haptek characters
« Reply #8 on: August 26, 2008, 10:21:17 pm »
Are you sure? here is the link with both versions

http://sourceforge.net/project/showfiles.php?group_id=22870

*

wgb14

  • Trusty Member
  • ****
  • Electric Dreamer
  • *
  • 143
Re: Face detection for haptek characters
« Reply #9 on: August 27, 2008, 01:42:35 am »
It will take you some time to figure out how to use the control, but once you will make it, its fun. My character can now ask for me if i am away from the camera, or ask me to come close if i am too far away. I have also implemented perspective rendering which means that the character can follow the motionof my head to move in the 3d space. I would like to do more with OpenCV like gesture recognition but I don 't have the time now. Enjoy

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6860
  • Mostly Harmless
Re: Face detection for haptek characters
« Reply #10 on: August 27, 2008, 01:03:42 pm »
Many thanks, I just couldn't find the Windows version for some reason.  What you have done sounds great, well done for figuring it out.

*

wgb14

  • Trusty Member
  • ****
  • Electric Dreamer
  • *
  • 143
Re: Face detection for haptek characters
« Reply #11 on: August 27, 2008, 10:02:30 pm »
Yes, for some reason you can not download it from Sourceforge. Can I perhaps upload it on the forum?

*

Maviarab

  • Trusty Member
  • **********
  • Millennium Man
  • *
  • 1231
  • What are you doing Dave?
    • The Celluloid Sage
Re: Face detection for haptek characters
« Reply #12 on: August 28, 2008, 12:31:02 am »
Sure thing wgb :)

*

wgb14

  • Trusty Member
  • ****
  • Electric Dreamer
  • *
  • 143
Re: Face detection for haptek characters
« Reply #13 on: August 28, 2008, 04:09:03 am »
Is there a direct link that I can use? It is quite difficult to upoload OpenCV as an attachment (it is 18 Mb). Oh! and by the way if you have the time please take a look at that and let me know what you think. I am trying to create a script crerator for Haptek completely based on taged text.

http://forums.msdn.microsoft.com/en-US/regexp/thread/8b5480fd-61e5-4d1d-83f8-221478764b4c

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6860
  • Mostly Harmless
Re: Face detection for haptek characters
« Reply #14 on: August 28, 2008, 12:02:33 pm »
About OpenCV...rather than upload it to the forum can you email it to me ?  Use my address in my profile (just click on my name), when I have it I will put it on the server and provide a link.   Thanks.

 


Requirements for functional equivalence to conscious processing?
by DaltonG (General AI Discussion)
November 19, 2024, 11:56:05 am
Will LLMs ever learn what is ... is?
by HS (Future of AI)
November 10, 2024, 06:28:10 pm
Who's the AI?
by frankinstien (Future of AI)
November 04, 2024, 05:45:05 am
Project Acuitas
by WriterOfMinds (General Project Discussion)
October 27, 2024, 09:17:10 pm
Ai improving AI
by infurl (AI Programming)
October 19, 2024, 03:43:29 am
Atronach's Eye
by WriterOfMinds (Home Made Robots)
October 13, 2024, 09:52:42 pm
Running local AI models
by spydaz (AI Programming)
October 07, 2024, 09:00:53 am
Hi IM BAA---AAACK!!
by MagnusWootton (Home Made Robots)
September 16, 2024, 09:49:10 pm
LLaMA2 Meta's chatbot released
by spydaz (AI News )
August 24, 2024, 02:58:36 pm
ollama and llama3
by spydaz (AI News )
August 24, 2024, 02:55:13 pm
AI controlled F-16, for real!
by frankinstien (AI News )
June 15, 2024, 05:40:28 am
Open AI GPT-4o - audio, vision, text combined reasoning
by MikeB (AI News )
May 14, 2024, 05:46:48 am
OpenAI Speech-to-Speech Reasoning Demo
by MikeB (AI News )
March 31, 2024, 01:00:53 pm
Say good-bye to GPUs...
by MikeB (AI News )
March 23, 2024, 09:23:52 am
Google Bard report
by ivan.moony (AI News )
February 14, 2024, 04:42:23 pm
Elon Musk's xAI Grok Chatbot
by MikeB (AI News )
December 11, 2023, 06:26:33 am

Users Online

363 Guests, 0 Users

Most Online Today: 453. Most Online Ever: 2369 (November 21, 2020, 04:08:13 pm)

Articles