mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-15 17:46:43 +03:00
* Rename debug to train * Add api to train image as person * Cleanup model running * Formatting * Fix * Set face recognition page title
26 lines
620 B
TypeScript
26 lines
620 B
TypeScript
import { forwardRef } from "react";
|
|
import { LuPlus, LuScanFace } from "react-icons/lu";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
type AddFaceIconProps = {
|
|
className?: string;
|
|
onClick?: () => void;
|
|
};
|
|
|
|
const AddFaceIcon = forwardRef<HTMLDivElement, AddFaceIconProps>(
|
|
({ className, onClick }, ref) => {
|
|
return (
|
|
<div
|
|
ref={ref}
|
|
className={cn("relative flex items-center", className)}
|
|
onClick={onClick}
|
|
>
|
|
<LuScanFace className="size-full" />
|
|
<LuPlus className="absolute size-4 translate-x-3 translate-y-3" />
|
|
</div>
|
|
);
|
|
},
|
|
);
|
|
|
|
export default AddFaceIcon;
|