Thumbnail

Omron HVC-P

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

Requires ARC v7 (Updated 7/10/2016)

How to add the Omron HVC-P robot skill

  1. Load the most recent release of ARC (Get ARC).
  2. Press the Project tab from the top menu bar in ARC.
  3. Press Add Robot Skill from the button ribbon bar in ARC.
  4. Choose the Camera category tab.
  5. Press the Omron HVC-P icon to add the robot skill to your project.

Don't have a robot yet?

Follow the Getting Started Guide to build a robot and use the Omron HVC-P robot skill.

How to use the Omron HVC-P robot skill

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

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.


ControlCommand("Omron HVC-P", Omron_Detect_All)

You can also tell it to run for specific options


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.


ARC Pro

Upgrade to ARC Pro

Join the ARC Pro community and gain access to a wealth of resources and support, ensuring your robot's success.

PRO
Canada
#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?

PRO
USA
#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.

PRO
USA
#3  

.....looks like my camera is the P-2 version.

PRO
Canada
#4  

Aw man! Thanks for looking Will.

Anyone else have the original Omron HVC-P Camera?