Thumbnail

Omron HVC-P

Omron HVC-P plugin for ARC (onboard computer). This is used in Rafiki.

+ How To Add This Control To Your Project (Click to Expand)
  1. Make sure you have the latest version of ARC installed.
  2. Select the Get button in this page to download the archive file.
  3. Double click the downloaded archive file to execute installer.
  4. The installer will add this control to ARC.
  5. Load ARC and press the Project -> Add Control button from the menu.
  6. Choose the Camera category tab.
  7. Press the Omron HVC-P icon to add the control to your project.

Manual

These are some case STL files so that you can protect this sensor while messing with it.
OmronCase2.stl

OmronCase1.stl

OmronCaseextrusion.stl

You need to install the following...
Download Python_Installs.zip. Unzip it and install Python and PySerial.

FTDI Friend - Adafruit is what I use to connect from the serial port to the Omron. The pin layout is as follows on the back of the Omron.


Ground is the first pin toward the center part of the Omron
Ground is the 1st pin - connect to the ground pin on the FTDI friend
5V VCC is the 3rd pin - connect to VCC on the FTDI friend
RX is the 4th pin - connect to TX on the FTDI friend
TX is the 5th pin - connect to RX on the FTDI friend
This config should allow you to use 921,600 baud.

The options are listed in the plugin. To use the plugin you can use a script.
This will return all of the variables possible.

Code:


ControlCommand("Omron HVC-P", Omron_Detect_All)


You can also tell it to run for specific options

Code:


ControlCommand("Omron HVC-P", Omron_Detect_Options, [bhfgsaoxe])


b = Body Detection (where and how many)
h = Hand Detection (where and how many)
f = Face Detection (where and how many)
g = Gaze (direction person is looking)
s = Gender (male, female or -1)
a = Age (estimated age of the first face)
o = Face Orientation (direction face is looking)
x = Face Expression (happy, sad, angry, surprised...)
e = Eye Estimation (how open or closed the eyes are)
r = Face Recognition (THIS IS A WORK IN PROGRESS - PLEASE SEE NOTE AT THE BOTTOM)

The sensor can do Facial Recognition. I don't have this programmed yet. Eventually I will get to it.

Source Code





On Face Recognition-
I have the plugin working with the data files that are produced by the Omron EvaluationSoftware_v1.2.0. There is a directory in the plugin that contains this evaluation software, along with a directory containing the instruction manuals for their software. By leaving all of the directory structure in tact, you should be able to use the evaluation software (C:\Users\Public\Documents\ARC.Plugins\a9bdf8cb-7beb-4dc6-96cf-2fadfaaba8eb\EvaluationSoftware_v1.2.0\HVC-PDemoE.exe) to add people to your album for facial recognition, and also be able to make sure that the sensor is working outside of ARC.

At some point I will work on rewriting the piece that we are using the HVC-PDemoE.exe for, but this allows all of the features of the Omron HVC-P to be used.

Synthiam
#1  
Hello Dave!

It's been a while, I hope you are doing well!

We don't have one of these cameras at the Synthiam office so I was wondering if you could test this plug-in inside of ARC, since I cannot?
#2  
Hey Jer. Dave and I kept in contact long enough for me  to get the jist. He had a series of life/job changes and a reflection of life goals. Robots were not part of the short term goals. He has not returned any emails and seems to have moved on for now.

I have one of these cameras in a box but I don’t have any FTDI for serial laying around. I’ll try and get one this weekend to test with. If I remember correctly Tony may have one as well.
#3  
.....looks like my camera is the P-2 version.
Synthiam
#4  
Aw man! Thanks for looking Will.

Anyone else have the original Omron HVC-P Camera?