cancel
Showing results for 
Search instead for 
Did you mean: 

Face recognition using blue prism

sanaaghannam
Level 2
hello,
I'm working in face recognition using blue prism and I'm trying to connect blue prism to security camera 
is there specific type of camera that I should use ? and is there some way  to make face recognition in live video instead of photo ?
thanks

------------------------------
sanaa ghannam
------------------------------
1 BEST ANSWER

Helpful Answers

@sanaaghannam  ​Please find attached sample implementation of a vbo to decompose video file/live feed into frames. You will need to get the  dependency ffmpeg.exe from https://ffmpeg.org/download.html for Windows OS. The vbo triggers the ffmpeg command to decompose the video. These are the input parameters:-

FFmpeg Path - Path to FFmpeg.exe
Video Source - Path to video file or url for live feed
fps - Required frames per second. Setting it to 1/5 will return 1 frame every 5 second
Output Folder Path - Folder path where the frames will be saved

Frame extraction can be computationally expensive depending upon the file size, fps etc. so you will need to check if your machine is capable to handle it. Also for live feed analysis, you might want to implement some sort of queuing mechanism while you generate the frames and send them to computer vision APIs for feature extraction.

You can customize the vbo further by referring https://ffmpeg.org/ffmpeg-all.html for the various commands available

------------------------------
Shashank Kumar
DX Integrations Partner Consultant
Blue Prism
Singapore
+6581326707
------------------------------

View answer in original post

8 REPLIES 8

PritamPoojari
Level 6
I think you probably want to investigate vision skills in DX. 

https://digitalexchange.blueprism.com/dx/entry/3439/solution/google-vision
https://digitalexchange.blueprism.com/dx/entry/3439/solution/microsoft-vision-skill


------------------------------
Pritam Poojari
Solution Architect
Capgemini
Europe/London
------------------------------

I download it but there is no way that help me to connect it to video
is there any VBO for video manipulation that help me to take snapshot every second ?

------------------------------
sanaa ghannam
------------------------------

You need to use some video editing software or use some cloud service to help you. See few services from Azure which can might be of use
e.g. Computer Vision | Microsoft Azure , Facial Recognition | Microsoft Azure

------------------------------
Pritam Poojari
Solution Architect
Capgemini
Europe/London
------------------------------

@sanaaghannam Do you have the video file saved in some location or are you planning to connect to a real time video stream? ​

------------------------------
Shashank Kumar
DX Integrations Partner Consultant
Blue Prism
Singapore
+6581326707
------------------------------

I'm planning to connect it  to a real time video stream can you help me figure out or tool to decompose video into picture ?



Hi,

I think blue prism should create some video or some end to end document where we can get clear requirement and understanding of DX.

Thanks
Nilesh

------------------------------
Nilesh Jadhav
Senior RPA Specialist
------------------------------
Nilesh Jadhav.
Consultant
ADP,India

Hi @sanaaghannam,

There are a few threads on the internet about how to capture specific frames from a video stream. As @Pritam Poojari mentioned, you'll need to leverage an additional library/SDK/software package such as DirectShow. Here's one thread that discusses this.​

Cheers,


------------------------------
Eric Wilson
Director, Partner Integrations for Digital Exchange
Blue Prism
------------------------------

@sanaaghannam  ​Please find attached sample implementation of a vbo to decompose video file/live feed into frames. You will need to get the  dependency ffmpeg.exe from https://ffmpeg.org/download.html for Windows OS. The vbo triggers the ffmpeg command to decompose the video. These are the input parameters:-

FFmpeg Path - Path to FFmpeg.exe
Video Source - Path to video file or url for live feed
fps - Required frames per second. Setting it to 1/5 will return 1 frame every 5 second
Output Folder Path - Folder path where the frames will be saved

Frame extraction can be computationally expensive depending upon the file size, fps etc. so you will need to check if your machine is capable to handle it. Also for live feed analysis, you might want to implement some sort of queuing mechanism while you generate the frames and send them to computer vision APIs for feature extraction.

You can customize the vbo further by referring https://ffmpeg.org/ffmpeg-all.html for the various commands available

------------------------------
Shashank Kumar
DX Integrations Partner Consultant
Blue Prism
Singapore
+6581326707
------------------------------