import { motion } from 'framer-motion'
import { Shield, Zap, Lock, Globe, Cpu, BarChart3, ExternalLink, Code, FileCode, Terminal } from 'lucide-react'
const features = [
{
icon:
Choose your preferred SDK or API to integrate face recognition
{sdk.description}
Regions: sg.opencv.fr (Singapore) | us.opencv.fr (US) | eu.opencv.fr (Europe)
Sign up at{' '}
developer.opencv.fr
{' '}to get your API key and start building
The face of a smarter, safer future.
Learn more about Seventh Sense AI at{' '}
www.seventhsense.ai
,
title: 'Python SDK',
description: 'Full-featured Python library for face recognition',
url: 'https://docs.opencv.fr/python/',
color: 'from-yellow-500 to-orange-500',
},
{
icon:
API Programming Guide
{sdk.title}
Python Example
import{' '}
requests
{'\n'}
import{' '}
base64
{'\n\n'}
# Encode images to base64
{'\n'}
probe{' '}
={' '}
[
base64
.
b64encode
(
open
(
"face1.jpg"
,{' '}
"rb"
).
read
()).
decode
()]
{'\n'}
gallery{' '}
={' '}
[
base64
.
b64encode
(
open
(
"face2.jpg"
,{' '}
"rb"
).
read
()).
decode
()]
{'\n\n'}
# Compare faces
{'\n'}
response{' '}
={' '}
requests
.
post
(
{'\n'}
{' '}"https://sg.opencv.fr/compare"
,
{'\n'}
{' '}json
=
{'{'}
"probe"
:{' '}
probe
,{' '}
"gallery"
:{' '}
gallery
{'}'}
,
{'\n'}
{' '}headers
=
{'{'}
"x-api-key"
:{' '}
API_KEY
{'}'}
{'\n'}
)
{'\n\n'}
score{' '}
={' '}
response
.
json
()[
"score"
]
{' '}
# 0.0 to 1.0
Why Choose Seventh Sense AI
Privacy-centric facial recognition and video analysis solutions for enterprises and governments.
{description}