Source file
src/oneml/face/faceAPI.go
1
10
11
12
13 package face
14
15
432 import "C"
433
434 import "unsafe"
435 import _ "runtime/cgo"
436 import "sync"
437
438
439 type _ unsafe.Pointer
440
441
442
443 var Swig_escape_always_false bool
444 var Swig_escape_val interface{}
445
446
447 type _swig_fnptr *byte
448 type _swig_memberptr *byte
449
450
451 type _ sync.Mutex
452
453
454 type swig_gostring struct { p uintptr; n int }
455 func swigCopyString(s string) string {
456 p := *(*swig_gostring)(unsafe.Pointer(&s))
457 r := string((*[0x7fffffff]byte)(unsafe.Pointer(p.p))[:p.n])
458 Swig_free(p.p)
459 return r
460 }
461
462 func Swig_free(arg1 uintptr) {
463 _swig_i_0 := arg1
464 C._wrap_Swig_free_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
465 }
466
467 func Swig_malloc(arg1 int) (_swig_ret uintptr) {
468 var swig_r uintptr
469 _swig_i_0 := arg1
470 swig_r = (uintptr)(C._wrap_Swig_malloc_face_86f062e835b3dd07(C.swig_intgo(_swig_i_0)))
471 return swig_r
472 }
473
474 type SwigcptrMultiImage uintptr
475
476 func (p SwigcptrMultiImage) Swigcptr() uintptr {
477 return (uintptr)(p)
478 }
479
480 func (p SwigcptrMultiImage) SwigIsMultiImage() {
481 }
482
483 func NewMultiImage__SWIG_0() (_swig_ret MultiImage) {
484 var swig_r MultiImage
485 swig_r = (MultiImage)(SwigcptrMultiImage(C._wrap_new_MultiImage__SWIG_0_face_86f062e835b3dd07()))
486 return swig_r
487 }
488
489 func NewMultiImage__SWIG_1(arg1 int64) (_swig_ret MultiImage) {
490 var swig_r MultiImage
491 _swig_i_0 := arg1
492 swig_r = (MultiImage)(SwigcptrMultiImage(C._wrap_new_MultiImage__SWIG_1_face_86f062e835b3dd07(C.swig_type_1(_swig_i_0))))
493 return swig_r
494 }
495
496 func NewMultiImage__SWIG_2(arg1 MultiImage) (_swig_ret MultiImage) {
497 var swig_r MultiImage
498 _swig_i_0 := arg1.Swigcptr()
499 swig_r = (MultiImage)(SwigcptrMultiImage(C._wrap_new_MultiImage__SWIG_2_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))))
500 return swig_r
501 }
502
503 func NewMultiImage(a ...interface{}) MultiImage {
504 argc := len(a)
505 if argc == 0 {
506 return NewMultiImage__SWIG_0()
507 }
508 if argc == 1 {
509 if _, ok := a[0].(int64); !ok {
510 goto check_2
511 }
512 return NewMultiImage__SWIG_1(a[0].(int64))
513 }
514 check_2:
515 if argc == 1 {
516 return NewMultiImage__SWIG_2(a[0].(MultiImage))
517 }
518 panic("No match for overloaded function call")
519 }
520
521 func (arg1 SwigcptrMultiImage) Size() (_swig_ret int64) {
522 var swig_r int64
523 _swig_i_0 := arg1
524 swig_r = (int64)(C._wrap_MultiImage_size_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
525 return swig_r
526 }
527
528 func (arg1 SwigcptrMultiImage) Capacity() (_swig_ret int64) {
529 var swig_r int64
530 _swig_i_0 := arg1
531 swig_r = (int64)(C._wrap_MultiImage_capacity_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
532 return swig_r
533 }
534
535 func (arg1 SwigcptrMultiImage) Reserve(arg2 int64) {
536 _swig_i_0 := arg1
537 _swig_i_1 := arg2
538 C._wrap_MultiImage_reserve_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.swig_type_4(_swig_i_1))
539 }
540
541 func (arg1 SwigcptrMultiImage) IsEmpty() (_swig_ret bool) {
542 var swig_r bool
543 _swig_i_0 := arg1
544 swig_r = (bool)(C._wrap_MultiImage_isEmpty_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
545 return swig_r
546 }
547
548 func (arg1 SwigcptrMultiImage) Clear() {
549 _swig_i_0 := arg1
550 C._wrap_MultiImage_clear_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
551 }
552
553 func (arg1 SwigcptrMultiImage) Add(arg2 Image) {
554 _swig_i_0 := arg1
555 _swig_i_1 := arg2.Swigcptr()
556 C._wrap_MultiImage_add_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1))
557 }
558
559 func (arg1 SwigcptrMultiImage) Get(arg2 int) (_swig_ret Image) {
560 var swig_r Image
561 _swig_i_0 := arg1
562 _swig_i_1 := arg2
563 swig_r = (Image)(SwigcptrImage(C._wrap_MultiImage_get_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1))))
564 return swig_r
565 }
566
567 func (arg1 SwigcptrMultiImage) Set(arg2 int, arg3 Image) {
568 _swig_i_0 := arg1
569 _swig_i_1 := arg2
570 _swig_i_2 := arg3.Swigcptr()
571 C._wrap_MultiImage_set_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1), C.uintptr_t(_swig_i_2))
572 }
573
574 func DeleteMultiImage(arg1 MultiImage) {
575 _swig_i_0 := arg1.Swigcptr()
576 C._wrap_delete_MultiImage_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
577 }
578
579 type MultiImage interface {
580 Swigcptr() uintptr
581 SwigIsMultiImage()
582 Size() (_swig_ret int64)
583 Capacity() (_swig_ret int64)
584 Reserve(arg2 int64)
585 IsEmpty() (_swig_ret bool)
586 Clear()
587 Add(arg2 Image)
588 Get(arg2 int) (_swig_ret Image)
589 Set(arg2 int, arg3 Image)
590 }
591
592 type SwigcptrImage uintptr
593
594 func (p SwigcptrImage) Swigcptr() uintptr {
595 return (uintptr)(p)
596 }
597
598 func (p SwigcptrImage) SwigIsImage() {
599 }
600
601 func NewImage__SWIG_0() (_swig_ret Image) {
602 var swig_r Image
603 swig_r = (Image)(SwigcptrImage(C._wrap_new_Image__SWIG_0_face_86f062e835b3dd07()))
604 return swig_r
605 }
606
607 func (arg1 SwigcptrImage) Size() (_swig_ret int64) {
608 var swig_r int64
609 _swig_i_0 := arg1
610 swig_r = (int64)(C._wrap_Image_size_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
611 return swig_r
612 }
613
614 func (arg1 SwigcptrImage) SetWidth(arg2 uint16) {
615 _swig_i_0 := arg1
616 _swig_i_1 := arg2
617 C._wrap_Image_SetWidth_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.short(_swig_i_1))
618 }
619
620 func (arg1 SwigcptrImage) SetHeight(arg2 uint16) {
621 _swig_i_0 := arg1
622 _swig_i_1 := arg2
623 C._wrap_Image_SetHeight_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.short(_swig_i_1))
624 }
625
626 func (arg1 SwigcptrImage) SetDepth(arg2 uint16) {
627 _swig_i_0 := arg1
628 _swig_i_1 := arg2
629 C._wrap_Image_SetDepth_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.short(_swig_i_1))
630 }
631
632 func (arg1 SwigcptrImage) GetWidth() (_swig_ret uint16) {
633 var swig_r uint16
634 _swig_i_0 := arg1
635 swig_r = (uint16)(C._wrap_Image_GetWidth_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
636 return swig_r
637 }
638
639 func (arg1 SwigcptrImage) GetHeight() (_swig_ret uint16) {
640 var swig_r uint16
641 _swig_i_0 := arg1
642 swig_r = (uint16)(C._wrap_Image_GetHeight_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
643 return swig_r
644 }
645
646 func (arg1 SwigcptrImage) GetDepth() (_swig_ret uint16) {
647 var swig_r uint16
648 _swig_i_0 := arg1
649 swig_r = (uint16)(C._wrap_Image_GetDepth_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
650 return swig_r
651 }
652
653 func NewImage__SWIG_1(arg1 int, arg2 int, arg3 int, arg4 []byte) (_swig_ret Image) {
654 var swig_r Image
655 _swig_i_0 := arg1
656 _swig_i_1 := arg2
657 _swig_i_2 := arg3
658 _swig_i_3 := arg4
659 swig_r = (Image)(SwigcptrImage(C._wrap_new_Image__SWIG_1_face_86f062e835b3dd07(C.swig_intgo(_swig_i_0), C.swig_intgo(_swig_i_1), C.swig_intgo(_swig_i_2), *(*C.swig_type_6)(unsafe.Pointer(&_swig_i_3)))))
660 if Swig_escape_always_false {
661 Swig_escape_val = arg4
662 }
663 return swig_r
664 }
665
666 func NewImage(a ...interface{}) Image {
667 argc := len(a)
668 if argc == 0 {
669 return NewImage__SWIG_0()
670 }
671 if argc == 4 {
672 return NewImage__SWIG_1(a[0].(int), a[1].(int), a[2].(int), a[3].([]byte))
673 }
674 panic("No match for overloaded function call")
675 }
676
677 func (arg1 SwigcptrImage) SetData(arg2 []byte) {
678 _swig_i_0 := arg1
679 _swig_i_1 := arg2
680 C._wrap_Image_SetData_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), *(*C.swig_type_7)(unsafe.Pointer(&_swig_i_1)))
681 if Swig_escape_always_false {
682 Swig_escape_val = arg2
683 }
684 }
685
686 func (arg1 SwigcptrImage) GetData() (_swig_ret *byte) {
687 var swig_r *byte
688 _swig_i_0 := arg1
689 swig_r = (*byte)(C._wrap_Image_GetData_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
690 return swig_r
691 }
692
693 func DeleteImage(arg1 Image) {
694 _swig_i_0 := arg1.Swigcptr()
695 C._wrap_delete_Image_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
696 }
697
698 type Image interface {
699 Swigcptr() uintptr
700 SwigIsImage()
701 Size() (_swig_ret int64)
702 SetWidth(arg2 uint16)
703 SetHeight(arg2 uint16)
704 SetDepth(arg2 uint16)
705 GetWidth() (_swig_ret uint16)
706 GetHeight() (_swig_ret uint16)
707 GetDepth() (_swig_ret uint16)
708 SetData(arg2 []byte)
709 GetData() (_swig_ret *byte)
710 }
711
712 type SwigcptrBBox uintptr
713
714 func (p SwigcptrBBox) Swigcptr() uintptr {
715 return (uintptr)(p)
716 }
717
718 func (p SwigcptrBBox) SwigIsBBox() {
719 }
720
721 func (arg1 SwigcptrBBox) SetTop(arg2 float32) {
722 _swig_i_0 := arg1
723 _swig_i_1 := arg2
724 C._wrap_BBox_top_set_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.float(_swig_i_1))
725 }
726
727 func (arg1 SwigcptrBBox) GetTop() (_swig_ret float32) {
728 var swig_r float32
729 _swig_i_0 := arg1
730 swig_r = (float32)(C._wrap_BBox_top_get_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
731 return swig_r
732 }
733
734 func (arg1 SwigcptrBBox) SetLeft(arg2 float32) {
735 _swig_i_0 := arg1
736 _swig_i_1 := arg2
737 C._wrap_BBox_left_set_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.float(_swig_i_1))
738 }
739
740 func (arg1 SwigcptrBBox) GetLeft() (_swig_ret float32) {
741 var swig_r float32
742 _swig_i_0 := arg1
743 swig_r = (float32)(C._wrap_BBox_left_get_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
744 return swig_r
745 }
746
747 func (arg1 SwigcptrBBox) SetBottom(arg2 float32) {
748 _swig_i_0 := arg1
749 _swig_i_1 := arg2
750 C._wrap_BBox_bottom_set_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.float(_swig_i_1))
751 }
752
753 func (arg1 SwigcptrBBox) GetBottom() (_swig_ret float32) {
754 var swig_r float32
755 _swig_i_0 := arg1
756 swig_r = (float32)(C._wrap_BBox_bottom_get_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
757 return swig_r
758 }
759
760 func (arg1 SwigcptrBBox) SetRight(arg2 float32) {
761 _swig_i_0 := arg1
762 _swig_i_1 := arg2
763 C._wrap_BBox_right_set_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.float(_swig_i_1))
764 }
765
766 func (arg1 SwigcptrBBox) GetRight() (_swig_ret float32) {
767 var swig_r float32
768 _swig_i_0 := arg1
769 swig_r = (float32)(C._wrap_BBox_right_get_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
770 return swig_r
771 }
772
773 func NewBBox() (_swig_ret BBox) {
774 var swig_r BBox
775 swig_r = (BBox)(SwigcptrBBox(C._wrap_new_BBox_face_86f062e835b3dd07()))
776 return swig_r
777 }
778
779 func DeleteBBox(arg1 BBox) {
780 _swig_i_0 := arg1.Swigcptr()
781 C._wrap_delete_BBox_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
782 }
783
784 type BBox interface {
785 Swigcptr() uintptr
786 SwigIsBBox()
787 SetTop(arg2 float32)
788 GetTop() (_swig_ret float32)
789 SetLeft(arg2 float32)
790 GetLeft() (_swig_ret float32)
791 SetBottom(arg2 float32)
792 GetBottom() (_swig_ret float32)
793 SetRight(arg2 float32)
794 GetRight() (_swig_ret float32)
795 }
796
797 type OneMLFacePose int
798 func _swig_getPose_Front() (_swig_ret OneMLFacePose) {
799 var swig_r OneMLFacePose
800 swig_r = (OneMLFacePose)(C._wrap_Pose_Front_face_86f062e835b3dd07())
801 return swig_r
802 }
803
804 var Pose_Front OneMLFacePose = _swig_getPose_Front()
805 func _swig_getPose_Left() (_swig_ret OneMLFacePose) {
806 var swig_r OneMLFacePose
807 swig_r = (OneMLFacePose)(C._wrap_Pose_Left_face_86f062e835b3dd07())
808 return swig_r
809 }
810
811 var Pose_Left OneMLFacePose = _swig_getPose_Left()
812 func _swig_getPose_Right() (_swig_ret OneMLFacePose) {
813 var swig_r OneMLFacePose
814 swig_r = (OneMLFacePose)(C._wrap_Pose_Right_face_86f062e835b3dd07())
815 return swig_r
816 }
817
818 var Pose_Right OneMLFacePose = _swig_getPose_Right()
819 func _swig_getPose_Up() (_swig_ret OneMLFacePose) {
820 var swig_r OneMLFacePose
821 swig_r = (OneMLFacePose)(C._wrap_Pose_Up_face_86f062e835b3dd07())
822 return swig_r
823 }
824
825 var Pose_Up OneMLFacePose = _swig_getPose_Up()
826 func _swig_getPose_Down() (_swig_ret OneMLFacePose) {
827 var swig_r OneMLFacePose
828 swig_r = (OneMLFacePose)(C._wrap_Pose_Down_face_86f062e835b3dd07())
829 return swig_r
830 }
831
832 var Pose_Down OneMLFacePose = _swig_getPose_Down()
833 func _swig_getPose_Undefined() (_swig_ret OneMLFacePose) {
834 var swig_r OneMLFacePose
835 swig_r = (OneMLFacePose)(C._wrap_Pose_Undefined_face_86f062e835b3dd07())
836 return swig_r
837 }
838
839 var Pose_Undefined OneMLFacePose = _swig_getPose_Undefined()
840
841 func PoseToText(p int) string {
842 pose := OneMLFacePose(p)
843 switch pose {
844 case Pose_Front:
845 return "Front"
846 case Pose_Left:
847 return "Left"
848 case Pose_Right:
849 return "Right"
850 case Pose_Up:
851 return "Up"
852 case Pose_Down:
853 return "Down"
854 case Pose_Undefined:
855 return "Undefined"
856 }
857 return ""
858 }
859
860 type SwigcptrFloatVector uintptr
861
862 func (p SwigcptrFloatVector) Swigcptr() uintptr {
863 return (uintptr)(p)
864 }
865
866 func (p SwigcptrFloatVector) SwigIsFloatVector() {
867 }
868
869 func NewFloatVector__SWIG_0() (_swig_ret FloatVector) {
870 var swig_r FloatVector
871 swig_r = (FloatVector)(SwigcptrFloatVector(C._wrap_new_FloatVector__SWIG_0_face_86f062e835b3dd07()))
872 return swig_r
873 }
874
875 func NewFloatVector__SWIG_1(arg1 int64) (_swig_ret FloatVector) {
876 var swig_r FloatVector
877 _swig_i_0 := arg1
878 swig_r = (FloatVector)(SwigcptrFloatVector(C._wrap_new_FloatVector__SWIG_1_face_86f062e835b3dd07(C.swig_type_8(_swig_i_0))))
879 return swig_r
880 }
881
882 func NewFloatVector__SWIG_2(arg1 FloatVector) (_swig_ret FloatVector) {
883 var swig_r FloatVector
884 _swig_i_0 := arg1.Swigcptr()
885 swig_r = (FloatVector)(SwigcptrFloatVector(C._wrap_new_FloatVector__SWIG_2_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))))
886 return swig_r
887 }
888
889 func NewFloatVector(a ...interface{}) FloatVector {
890 argc := len(a)
891 if argc == 0 {
892 return NewFloatVector__SWIG_0()
893 }
894 if argc == 1 {
895 if _, ok := a[0].(int64); !ok {
896 goto check_2
897 }
898 return NewFloatVector__SWIG_1(a[0].(int64))
899 }
900 check_2:
901 if argc == 1 {
902 return NewFloatVector__SWIG_2(a[0].(FloatVector))
903 }
904 panic("No match for overloaded function call")
905 }
906
907 func (arg1 SwigcptrFloatVector) Size() (_swig_ret int64) {
908 var swig_r int64
909 _swig_i_0 := arg1
910 swig_r = (int64)(C._wrap_FloatVector_size_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
911 return swig_r
912 }
913
914 func (arg1 SwigcptrFloatVector) Capacity() (_swig_ret int64) {
915 var swig_r int64
916 _swig_i_0 := arg1
917 swig_r = (int64)(C._wrap_FloatVector_capacity_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
918 return swig_r
919 }
920
921 func (arg1 SwigcptrFloatVector) Reserve(arg2 int64) {
922 _swig_i_0 := arg1
923 _swig_i_1 := arg2
924 C._wrap_FloatVector_reserve_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.swig_type_11(_swig_i_1))
925 }
926
927 func (arg1 SwigcptrFloatVector) IsEmpty() (_swig_ret bool) {
928 var swig_r bool
929 _swig_i_0 := arg1
930 swig_r = (bool)(C._wrap_FloatVector_isEmpty_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
931 return swig_r
932 }
933
934 func (arg1 SwigcptrFloatVector) Clear() {
935 _swig_i_0 := arg1
936 C._wrap_FloatVector_clear_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
937 }
938
939 func (arg1 SwigcptrFloatVector) Add(arg2 float32) {
940 _swig_i_0 := arg1
941 _swig_i_1 := arg2
942 C._wrap_FloatVector_add_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.float(_swig_i_1))
943 }
944
945 func (arg1 SwigcptrFloatVector) Get(arg2 int) (_swig_ret float32) {
946 var swig_r float32
947 _swig_i_0 := arg1
948 _swig_i_1 := arg2
949 swig_r = (float32)(C._wrap_FloatVector_get_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1)))
950 return swig_r
951 }
952
953 func (arg1 SwigcptrFloatVector) Set(arg2 int, arg3 float32) {
954 _swig_i_0 := arg1
955 _swig_i_1 := arg2
956 _swig_i_2 := arg3
957 C._wrap_FloatVector_set_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1), C.float(_swig_i_2))
958 }
959
960 func DeleteFloatVector(arg1 FloatVector) {
961 _swig_i_0 := arg1.Swigcptr()
962 C._wrap_delete_FloatVector_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
963 }
964
965 type FloatVector interface {
966 Swigcptr() uintptr
967 SwigIsFloatVector()
968 Size() (_swig_ret int64)
969 Capacity() (_swig_ret int64)
970 Reserve(arg2 int64)
971 IsEmpty() (_swig_ret bool)
972 Clear()
973 Add(arg2 float32)
974 Get(arg2 int) (_swig_ret float32)
975 Set(arg2 int, arg3 float32)
976 }
977
978 type SwigcptrIntVector uintptr
979
980 func (p SwigcptrIntVector) Swigcptr() uintptr {
981 return (uintptr)(p)
982 }
983
984 func (p SwigcptrIntVector) SwigIsIntVector() {
985 }
986
987 func NewIntVector__SWIG_0() (_swig_ret IntVector) {
988 var swig_r IntVector
989 swig_r = (IntVector)(SwigcptrIntVector(C._wrap_new_IntVector__SWIG_0_face_86f062e835b3dd07()))
990 return swig_r
991 }
992
993 func NewIntVector__SWIG_1(arg1 int64) (_swig_ret IntVector) {
994 var swig_r IntVector
995 _swig_i_0 := arg1
996 swig_r = (IntVector)(SwigcptrIntVector(C._wrap_new_IntVector__SWIG_1_face_86f062e835b3dd07(C.swig_type_12(_swig_i_0))))
997 return swig_r
998 }
999
1000 func NewIntVector__SWIG_2(arg1 IntVector) (_swig_ret IntVector) {
1001 var swig_r IntVector
1002 _swig_i_0 := arg1.Swigcptr()
1003 swig_r = (IntVector)(SwigcptrIntVector(C._wrap_new_IntVector__SWIG_2_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))))
1004 return swig_r
1005 }
1006
1007 func NewIntVector(a ...interface{}) IntVector {
1008 argc := len(a)
1009 if argc == 0 {
1010 return NewIntVector__SWIG_0()
1011 }
1012 if argc == 1 {
1013 if _, ok := a[0].(int64); !ok {
1014 goto check_2
1015 }
1016 return NewIntVector__SWIG_1(a[0].(int64))
1017 }
1018 check_2:
1019 if argc == 1 {
1020 return NewIntVector__SWIG_2(a[0].(IntVector))
1021 }
1022 panic("No match for overloaded function call")
1023 }
1024
1025 func (arg1 SwigcptrIntVector) Size() (_swig_ret int64) {
1026 var swig_r int64
1027 _swig_i_0 := arg1
1028 swig_r = (int64)(C._wrap_IntVector_size_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
1029 return swig_r
1030 }
1031
1032 func (arg1 SwigcptrIntVector) Capacity() (_swig_ret int64) {
1033 var swig_r int64
1034 _swig_i_0 := arg1
1035 swig_r = (int64)(C._wrap_IntVector_capacity_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
1036 return swig_r
1037 }
1038
1039 func (arg1 SwigcptrIntVector) Reserve(arg2 int64) {
1040 _swig_i_0 := arg1
1041 _swig_i_1 := arg2
1042 C._wrap_IntVector_reserve_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.swig_type_15(_swig_i_1))
1043 }
1044
1045 func (arg1 SwigcptrIntVector) IsEmpty() (_swig_ret bool) {
1046 var swig_r bool
1047 _swig_i_0 := arg1
1048 swig_r = (bool)(C._wrap_IntVector_isEmpty_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
1049 return swig_r
1050 }
1051
1052 func (arg1 SwigcptrIntVector) Clear() {
1053 _swig_i_0 := arg1
1054 C._wrap_IntVector_clear_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
1055 }
1056
1057 func (arg1 SwigcptrIntVector) Add(arg2 int) {
1058 _swig_i_0 := arg1
1059 _swig_i_1 := arg2
1060 C._wrap_IntVector_add_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1))
1061 }
1062
1063 func (arg1 SwigcptrIntVector) Get(arg2 int) (_swig_ret int) {
1064 var swig_r int
1065 _swig_i_0 := arg1
1066 _swig_i_1 := arg2
1067 swig_r = (int)(C._wrap_IntVector_get_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1)))
1068 return swig_r
1069 }
1070
1071 func (arg1 SwigcptrIntVector) Set(arg2 int, arg3 int) {
1072 _swig_i_0 := arg1
1073 _swig_i_1 := arg2
1074 _swig_i_2 := arg3
1075 C._wrap_IntVector_set_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1), C.swig_intgo(_swig_i_2))
1076 }
1077
1078 func DeleteIntVector(arg1 IntVector) {
1079 _swig_i_0 := arg1.Swigcptr()
1080 C._wrap_delete_IntVector_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
1081 }
1082
1083 type IntVector interface {
1084 Swigcptr() uintptr
1085 SwigIsIntVector()
1086 Size() (_swig_ret int64)
1087 Capacity() (_swig_ret int64)
1088 Reserve(arg2 int64)
1089 IsEmpty() (_swig_ret bool)
1090 Clear()
1091 Add(arg2 int)
1092 Get(arg2 int) (_swig_ret int)
1093 Set(arg2 int, arg3 int)
1094 }
1095
1096 type SwigcptrBBoxVector uintptr
1097
1098 func (p SwigcptrBBoxVector) Swigcptr() uintptr {
1099 return (uintptr)(p)
1100 }
1101
1102 func (p SwigcptrBBoxVector) SwigIsBBoxVector() {
1103 }
1104
1105 func NewBBoxVector__SWIG_0() (_swig_ret BBoxVector) {
1106 var swig_r BBoxVector
1107 swig_r = (BBoxVector)(SwigcptrBBoxVector(C._wrap_new_BBoxVector__SWIG_0_face_86f062e835b3dd07()))
1108 return swig_r
1109 }
1110
1111 func NewBBoxVector__SWIG_1(arg1 int64) (_swig_ret BBoxVector) {
1112 var swig_r BBoxVector
1113 _swig_i_0 := arg1
1114 swig_r = (BBoxVector)(SwigcptrBBoxVector(C._wrap_new_BBoxVector__SWIG_1_face_86f062e835b3dd07(C.swig_type_16(_swig_i_0))))
1115 return swig_r
1116 }
1117
1118 func NewBBoxVector__SWIG_2(arg1 BBoxVector) (_swig_ret BBoxVector) {
1119 var swig_r BBoxVector
1120 _swig_i_0 := arg1.Swigcptr()
1121 swig_r = (BBoxVector)(SwigcptrBBoxVector(C._wrap_new_BBoxVector__SWIG_2_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))))
1122 return swig_r
1123 }
1124
1125 func NewBBoxVector(a ...interface{}) BBoxVector {
1126 argc := len(a)
1127 if argc == 0 {
1128 return NewBBoxVector__SWIG_0()
1129 }
1130 if argc == 1 {
1131 if _, ok := a[0].(int64); !ok {
1132 goto check_2
1133 }
1134 return NewBBoxVector__SWIG_1(a[0].(int64))
1135 }
1136 check_2:
1137 if argc == 1 {
1138 return NewBBoxVector__SWIG_2(a[0].(BBoxVector))
1139 }
1140 panic("No match for overloaded function call")
1141 }
1142
1143 func (arg1 SwigcptrBBoxVector) Size() (_swig_ret int64) {
1144 var swig_r int64
1145 _swig_i_0 := arg1
1146 swig_r = (int64)(C._wrap_BBoxVector_size_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
1147 return swig_r
1148 }
1149
1150 func (arg1 SwigcptrBBoxVector) Capacity() (_swig_ret int64) {
1151 var swig_r int64
1152 _swig_i_0 := arg1
1153 swig_r = (int64)(C._wrap_BBoxVector_capacity_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
1154 return swig_r
1155 }
1156
1157 func (arg1 SwigcptrBBoxVector) Reserve(arg2 int64) {
1158 _swig_i_0 := arg1
1159 _swig_i_1 := arg2
1160 C._wrap_BBoxVector_reserve_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.swig_type_19(_swig_i_1))
1161 }
1162
1163 func (arg1 SwigcptrBBoxVector) IsEmpty() (_swig_ret bool) {
1164 var swig_r bool
1165 _swig_i_0 := arg1
1166 swig_r = (bool)(C._wrap_BBoxVector_isEmpty_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
1167 return swig_r
1168 }
1169
1170 func (arg1 SwigcptrBBoxVector) Clear() {
1171 _swig_i_0 := arg1
1172 C._wrap_BBoxVector_clear_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
1173 }
1174
1175 func (arg1 SwigcptrBBoxVector) Add(arg2 BBox) {
1176 _swig_i_0 := arg1
1177 _swig_i_1 := arg2.Swigcptr()
1178 C._wrap_BBoxVector_add_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1))
1179 }
1180
1181 func (arg1 SwigcptrBBoxVector) Get(arg2 int) (_swig_ret BBox) {
1182 var swig_r BBox
1183 _swig_i_0 := arg1
1184 _swig_i_1 := arg2
1185 swig_r = (BBox)(SwigcptrBBox(C._wrap_BBoxVector_get_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1))))
1186 return swig_r
1187 }
1188
1189 func (arg1 SwigcptrBBoxVector) Set(arg2 int, arg3 BBox) {
1190 _swig_i_0 := arg1
1191 _swig_i_1 := arg2
1192 _swig_i_2 := arg3.Swigcptr()
1193 C._wrap_BBoxVector_set_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1), C.uintptr_t(_swig_i_2))
1194 }
1195
1196 func DeleteBBoxVector(arg1 BBoxVector) {
1197 _swig_i_0 := arg1.Swigcptr()
1198 C._wrap_delete_BBoxVector_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
1199 }
1200
1201 type BBoxVector interface {
1202 Swigcptr() uintptr
1203 SwigIsBBoxVector()
1204 Size() (_swig_ret int64)
1205 Capacity() (_swig_ret int64)
1206 Reserve(arg2 int64)
1207 IsEmpty() (_swig_ret bool)
1208 Clear()
1209 Add(arg2 BBox)
1210 Get(arg2 int) (_swig_ret BBox)
1211 Set(arg2 int, arg3 BBox)
1212 }
1213
1214 type SwigcptrLandmark5Array uintptr
1215
1216 func (p SwigcptrLandmark5Array) Swigcptr() uintptr {
1217 return (uintptr)(p)
1218 }
1219
1220 func (p SwigcptrLandmark5Array) SwigIsLandmark5Array() {
1221 }
1222
1223 func NewLandmark5Array__SWIG_0() (_swig_ret Landmark5Array) {
1224 var swig_r Landmark5Array
1225 swig_r = (Landmark5Array)(SwigcptrLandmark5Array(C._wrap_new_Landmark5Array__SWIG_0_face_86f062e835b3dd07()))
1226 return swig_r
1227 }
1228
1229 func NewLandmark5Array__SWIG_1(arg1 Landmark5Array) (_swig_ret Landmark5Array) {
1230 var swig_r Landmark5Array
1231 _swig_i_0 := arg1.Swigcptr()
1232 swig_r = (Landmark5Array)(SwigcptrLandmark5Array(C._wrap_new_Landmark5Array__SWIG_1_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))))
1233 return swig_r
1234 }
1235
1236 func NewLandmark5Array(a ...interface{}) Landmark5Array {
1237 argc := len(a)
1238 if argc == 0 {
1239 return NewLandmark5Array__SWIG_0()
1240 }
1241 if argc == 1 {
1242 return NewLandmark5Array__SWIG_1(a[0].(Landmark5Array))
1243 }
1244 panic("No match for overloaded function call")
1245 }
1246
1247 func (arg1 SwigcptrLandmark5Array) Size() (_swig_ret int64) {
1248 var swig_r int64
1249 _swig_i_0 := arg1
1250 swig_r = (int64)(C._wrap_Landmark5Array_size_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
1251 return swig_r
1252 }
1253
1254 func (arg1 SwigcptrLandmark5Array) IsEmpty() (_swig_ret bool) {
1255 var swig_r bool
1256 _swig_i_0 := arg1
1257 swig_r = (bool)(C._wrap_Landmark5Array_isEmpty_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
1258 return swig_r
1259 }
1260
1261 func (arg1 SwigcptrLandmark5Array) Fill(arg2 float32) {
1262 _swig_i_0 := arg1
1263 _swig_i_1 := arg2
1264 C._wrap_Landmark5Array_fill_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.float(_swig_i_1))
1265 }
1266
1267 func (arg1 SwigcptrLandmark5Array) Get(arg2 int) (_swig_ret float32) {
1268 var swig_r float32
1269 _swig_i_0 := arg1
1270 _swig_i_1 := arg2
1271 swig_r = (float32)(C._wrap_Landmark5Array_get_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1)))
1272 return swig_r
1273 }
1274
1275 func (arg1 SwigcptrLandmark5Array) Set(arg2 int, arg3 float32) {
1276 _swig_i_0 := arg1
1277 _swig_i_1 := arg2
1278 _swig_i_2 := arg3
1279 C._wrap_Landmark5Array_set_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1), C.float(_swig_i_2))
1280 }
1281
1282 func DeleteLandmark5Array(arg1 Landmark5Array) {
1283 _swig_i_0 := arg1.Swigcptr()
1284 C._wrap_delete_Landmark5Array_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
1285 }
1286
1287 type Landmark5Array interface {
1288 Swigcptr() uintptr
1289 SwigIsLandmark5Array()
1290 Size() (_swig_ret int64)
1291 IsEmpty() (_swig_ret bool)
1292 Fill(arg2 float32)
1293 Get(arg2 int) (_swig_ret float32)
1294 Set(arg2 int, arg3 float32)
1295 }
1296
1297 type SwigcptrLandmark5 uintptr
1298
1299 func (p SwigcptrLandmark5) Swigcptr() uintptr {
1300 return (uintptr)(p)
1301 }
1302
1303 func (p SwigcptrLandmark5) SwigIsLandmark5() {
1304 }
1305
1306 func (arg1 SwigcptrLandmark5) SetX(arg2 Landmark5Array) {
1307 _swig_i_0 := arg1
1308 _swig_i_1 := arg2.Swigcptr()
1309 C._wrap_Landmark5_x_set_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1))
1310 }
1311
1312 func (arg1 SwigcptrLandmark5) GetX() (_swig_ret Landmark5Array) {
1313 var swig_r Landmark5Array
1314 _swig_i_0 := arg1
1315 swig_r = (Landmark5Array)(SwigcptrLandmark5Array(C._wrap_Landmark5_x_get_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))))
1316 return swig_r
1317 }
1318
1319 func (arg1 SwigcptrLandmark5) SetY(arg2 Landmark5Array) {
1320 _swig_i_0 := arg1
1321 _swig_i_1 := arg2.Swigcptr()
1322 C._wrap_Landmark5_y_set_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1))
1323 }
1324
1325 func (arg1 SwigcptrLandmark5) GetY() (_swig_ret Landmark5Array) {
1326 var swig_r Landmark5Array
1327 _swig_i_0 := arg1
1328 swig_r = (Landmark5Array)(SwigcptrLandmark5Array(C._wrap_Landmark5_y_get_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))))
1329 return swig_r
1330 }
1331
1332 func NewLandmark5() (_swig_ret Landmark5) {
1333 var swig_r Landmark5
1334 swig_r = (Landmark5)(SwigcptrLandmark5(C._wrap_new_Landmark5_face_86f062e835b3dd07()))
1335 return swig_r
1336 }
1337
1338 func DeleteLandmark5(arg1 Landmark5) {
1339 _swig_i_0 := arg1.Swigcptr()
1340 C._wrap_delete_Landmark5_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
1341 }
1342
1343 type Landmark5 interface {
1344 Swigcptr() uintptr
1345 SwigIsLandmark5()
1346 SetX(arg2 Landmark5Array)
1347 GetX() (_swig_ret Landmark5Array)
1348 SetY(arg2 Landmark5Array)
1349 GetY() (_swig_ret Landmark5Array)
1350 }
1351
1352 type SwigcptrLandmarks5Vector uintptr
1353
1354 func (p SwigcptrLandmarks5Vector) Swigcptr() uintptr {
1355 return (uintptr)(p)
1356 }
1357
1358 func (p SwigcptrLandmarks5Vector) SwigIsLandmarks5Vector() {
1359 }
1360
1361 func NewLandmarks5Vector__SWIG_0() (_swig_ret Landmarks5Vector) {
1362 var swig_r Landmarks5Vector
1363 swig_r = (Landmarks5Vector)(SwigcptrLandmarks5Vector(C._wrap_new_Landmarks5Vector__SWIG_0_face_86f062e835b3dd07()))
1364 return swig_r
1365 }
1366
1367 func NewLandmarks5Vector__SWIG_1(arg1 int64) (_swig_ret Landmarks5Vector) {
1368 var swig_r Landmarks5Vector
1369 _swig_i_0 := arg1
1370 swig_r = (Landmarks5Vector)(SwigcptrLandmarks5Vector(C._wrap_new_Landmarks5Vector__SWIG_1_face_86f062e835b3dd07(C.swig_type_21(_swig_i_0))))
1371 return swig_r
1372 }
1373
1374 func NewLandmarks5Vector__SWIG_2(arg1 Landmarks5Vector) (_swig_ret Landmarks5Vector) {
1375 var swig_r Landmarks5Vector
1376 _swig_i_0 := arg1.Swigcptr()
1377 swig_r = (Landmarks5Vector)(SwigcptrLandmarks5Vector(C._wrap_new_Landmarks5Vector__SWIG_2_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))))
1378 return swig_r
1379 }
1380
1381 func NewLandmarks5Vector(a ...interface{}) Landmarks5Vector {
1382 argc := len(a)
1383 if argc == 0 {
1384 return NewLandmarks5Vector__SWIG_0()
1385 }
1386 if argc == 1 {
1387 if _, ok := a[0].(int64); !ok {
1388 goto check_2
1389 }
1390 return NewLandmarks5Vector__SWIG_1(a[0].(int64))
1391 }
1392 check_2:
1393 if argc == 1 {
1394 return NewLandmarks5Vector__SWIG_2(a[0].(Landmarks5Vector))
1395 }
1396 panic("No match for overloaded function call")
1397 }
1398
1399 func (arg1 SwigcptrLandmarks5Vector) Size() (_swig_ret int64) {
1400 var swig_r int64
1401 _swig_i_0 := arg1
1402 swig_r = (int64)(C._wrap_Landmarks5Vector_size_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
1403 return swig_r
1404 }
1405
1406 func (arg1 SwigcptrLandmarks5Vector) Capacity() (_swig_ret int64) {
1407 var swig_r int64
1408 _swig_i_0 := arg1
1409 swig_r = (int64)(C._wrap_Landmarks5Vector_capacity_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
1410 return swig_r
1411 }
1412
1413 func (arg1 SwigcptrLandmarks5Vector) Reserve(arg2 int64) {
1414 _swig_i_0 := arg1
1415 _swig_i_1 := arg2
1416 C._wrap_Landmarks5Vector_reserve_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.swig_type_24(_swig_i_1))
1417 }
1418
1419 func (arg1 SwigcptrLandmarks5Vector) IsEmpty() (_swig_ret bool) {
1420 var swig_r bool
1421 _swig_i_0 := arg1
1422 swig_r = (bool)(C._wrap_Landmarks5Vector_isEmpty_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
1423 return swig_r
1424 }
1425
1426 func (arg1 SwigcptrLandmarks5Vector) Clear() {
1427 _swig_i_0 := arg1
1428 C._wrap_Landmarks5Vector_clear_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
1429 }
1430
1431 func (arg1 SwigcptrLandmarks5Vector) Add(arg2 Landmark5) {
1432 _swig_i_0 := arg1
1433 _swig_i_1 := arg2.Swigcptr()
1434 C._wrap_Landmarks5Vector_add_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1))
1435 }
1436
1437 func (arg1 SwigcptrLandmarks5Vector) Get(arg2 int) (_swig_ret Landmark5) {
1438 var swig_r Landmark5
1439 _swig_i_0 := arg1
1440 _swig_i_1 := arg2
1441 swig_r = (Landmark5)(SwigcptrLandmark5(C._wrap_Landmarks5Vector_get_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1))))
1442 return swig_r
1443 }
1444
1445 func (arg1 SwigcptrLandmarks5Vector) Set(arg2 int, arg3 Landmark5) {
1446 _swig_i_0 := arg1
1447 _swig_i_1 := arg2
1448 _swig_i_2 := arg3.Swigcptr()
1449 C._wrap_Landmarks5Vector_set_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1), C.uintptr_t(_swig_i_2))
1450 }
1451
1452 func DeleteLandmarks5Vector(arg1 Landmarks5Vector) {
1453 _swig_i_0 := arg1.Swigcptr()
1454 C._wrap_delete_Landmarks5Vector_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
1455 }
1456
1457 type Landmarks5Vector interface {
1458 Swigcptr() uintptr
1459 SwigIsLandmarks5Vector()
1460 Size() (_swig_ret int64)
1461 Capacity() (_swig_ret int64)
1462 Reserve(arg2 int64)
1463 IsEmpty() (_swig_ret bool)
1464 Clear()
1465 Add(arg2 Landmark5)
1466 Get(arg2 int) (_swig_ret Landmark5)
1467 Set(arg2 int, arg3 Landmark5)
1468 }
1469
1470 type SwigcptrFaceDetectorResultVector uintptr
1471
1472 func (p SwigcptrFaceDetectorResultVector) Swigcptr() uintptr {
1473 return (uintptr)(p)
1474 }
1475
1476 func (p SwigcptrFaceDetectorResultVector) SwigIsFaceDetectorResultVector() {
1477 }
1478
1479 func NewFaceDetectorResultVector__SWIG_0() (_swig_ret FaceDetectorResultVector) {
1480 var swig_r FaceDetectorResultVector
1481 swig_r = (FaceDetectorResultVector)(SwigcptrFaceDetectorResultVector(C._wrap_new_FaceDetectorResultVector__SWIG_0_face_86f062e835b3dd07()))
1482 return swig_r
1483 }
1484
1485 func NewFaceDetectorResultVector__SWIG_1(arg1 int64) (_swig_ret FaceDetectorResultVector) {
1486 var swig_r FaceDetectorResultVector
1487 _swig_i_0 := arg1
1488 swig_r = (FaceDetectorResultVector)(SwigcptrFaceDetectorResultVector(C._wrap_new_FaceDetectorResultVector__SWIG_1_face_86f062e835b3dd07(C.swig_type_25(_swig_i_0))))
1489 return swig_r
1490 }
1491
1492 func NewFaceDetectorResultVector__SWIG_2(arg1 FaceDetectorResultVector) (_swig_ret FaceDetectorResultVector) {
1493 var swig_r FaceDetectorResultVector
1494 _swig_i_0 := arg1.Swigcptr()
1495 swig_r = (FaceDetectorResultVector)(SwigcptrFaceDetectorResultVector(C._wrap_new_FaceDetectorResultVector__SWIG_2_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))))
1496 return swig_r
1497 }
1498
1499 func NewFaceDetectorResultVector(a ...interface{}) FaceDetectorResultVector {
1500 argc := len(a)
1501 if argc == 0 {
1502 return NewFaceDetectorResultVector__SWIG_0()
1503 }
1504 if argc == 1 {
1505 if _, ok := a[0].(int64); !ok {
1506 goto check_2
1507 }
1508 return NewFaceDetectorResultVector__SWIG_1(a[0].(int64))
1509 }
1510 check_2:
1511 if argc == 1 {
1512 return NewFaceDetectorResultVector__SWIG_2(a[0].(FaceDetectorResultVector))
1513 }
1514 panic("No match for overloaded function call")
1515 }
1516
1517 func (arg1 SwigcptrFaceDetectorResultVector) Size() (_swig_ret int64) {
1518 var swig_r int64
1519 _swig_i_0 := arg1
1520 swig_r = (int64)(C._wrap_FaceDetectorResultVector_size_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
1521 return swig_r
1522 }
1523
1524 func (arg1 SwigcptrFaceDetectorResultVector) Capacity() (_swig_ret int64) {
1525 var swig_r int64
1526 _swig_i_0 := arg1
1527 swig_r = (int64)(C._wrap_FaceDetectorResultVector_capacity_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
1528 return swig_r
1529 }
1530
1531 func (arg1 SwigcptrFaceDetectorResultVector) Reserve(arg2 int64) {
1532 _swig_i_0 := arg1
1533 _swig_i_1 := arg2
1534 C._wrap_FaceDetectorResultVector_reserve_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.swig_type_28(_swig_i_1))
1535 }
1536
1537 func (arg1 SwigcptrFaceDetectorResultVector) IsEmpty() (_swig_ret bool) {
1538 var swig_r bool
1539 _swig_i_0 := arg1
1540 swig_r = (bool)(C._wrap_FaceDetectorResultVector_isEmpty_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
1541 return swig_r
1542 }
1543
1544 func (arg1 SwigcptrFaceDetectorResultVector) Clear() {
1545 _swig_i_0 := arg1
1546 C._wrap_FaceDetectorResultVector_clear_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
1547 }
1548
1549 func (arg1 SwigcptrFaceDetectorResultVector) Add(arg2 FaceDetectorResult) {
1550 _swig_i_0 := arg1
1551 _swig_i_1 := arg2.Swigcptr()
1552 C._wrap_FaceDetectorResultVector_add_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1))
1553 }
1554
1555 func (arg1 SwigcptrFaceDetectorResultVector) Get(arg2 int) (_swig_ret FaceDetectorResult) {
1556 var swig_r FaceDetectorResult
1557 _swig_i_0 := arg1
1558 _swig_i_1 := arg2
1559 swig_r = (FaceDetectorResult)(SwigcptrFaceDetectorResult(C._wrap_FaceDetectorResultVector_get_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1))))
1560 return swig_r
1561 }
1562
1563 func (arg1 SwigcptrFaceDetectorResultVector) Set(arg2 int, arg3 FaceDetectorResult) {
1564 _swig_i_0 := arg1
1565 _swig_i_1 := arg2
1566 _swig_i_2 := arg3.Swigcptr()
1567 C._wrap_FaceDetectorResultVector_set_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1), C.uintptr_t(_swig_i_2))
1568 }
1569
1570 func DeleteFaceDetectorResultVector(arg1 FaceDetectorResultVector) {
1571 _swig_i_0 := arg1.Swigcptr()
1572 C._wrap_delete_FaceDetectorResultVector_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
1573 }
1574
1575 type FaceDetectorResultVector interface {
1576 Swigcptr() uintptr
1577 SwigIsFaceDetectorResultVector()
1578 Size() (_swig_ret int64)
1579 Capacity() (_swig_ret int64)
1580 Reserve(arg2 int64)
1581 IsEmpty() (_swig_ret bool)
1582 Clear()
1583 Add(arg2 FaceDetectorResult)
1584 Get(arg2 int) (_swig_ret FaceDetectorResult)
1585 Set(arg2 int, arg3 FaceDetectorResult)
1586 }
1587
1588 func GetEMB_SIZE() (_swig_ret int) {
1589 var swig_r int
1590 swig_r = (int)(C._wrap_EMB_SIZE_get_face_86f062e835b3dd07())
1591 return swig_r
1592 }
1593
1594 func GetN_LANDMARKS() (_swig_ret int) {
1595 var swig_r int
1596 swig_r = (int)(C._wrap_N_LANDMARKS_get_face_86f062e835b3dd07())
1597 return swig_r
1598 }
1599
1600 func GetN_LANDMARKS_106() (_swig_ret int) {
1601 var swig_r int
1602 swig_r = (int)(C._wrap_N_LANDMARKS_106_get_face_86f062e835b3dd07())
1603 return swig_r
1604 }
1605
1606 type SwigcptrFaceDetectorResult uintptr
1607
1608 func (p SwigcptrFaceDetectorResult) Swigcptr() uintptr {
1609 return (uintptr)(p)
1610 }
1611
1612 func (p SwigcptrFaceDetectorResult) SwigIsFaceDetectorResult() {
1613 }
1614
1615 func NewFaceDetectorResult() (_swig_ret FaceDetectorResult) {
1616 var swig_r FaceDetectorResult
1617 swig_r = (FaceDetectorResult)(SwigcptrFaceDetectorResult(C._wrap_new_FaceDetectorResult_face_86f062e835b3dd07()))
1618 return swig_r
1619 }
1620
1621 func (arg1 SwigcptrFaceDetectorResult) GetSize() (_swig_ret int) {
1622 var swig_r int
1623 _swig_i_0 := arg1
1624 swig_r = (int)(C._wrap_FaceDetectorResult_GetSize_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
1625 return swig_r
1626 }
1627
1628 func (arg1 SwigcptrFaceDetectorResult) GetScores() (_swig_ret FloatVector) {
1629 var swig_r FloatVector
1630 _swig_i_0 := arg1
1631 swig_r = (FloatVector)(SwigcptrFloatVector(C._wrap_FaceDetectorResult_GetScores_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))))
1632 return swig_r
1633 }
1634
1635 func (arg1 SwigcptrFaceDetectorResult) GetBboxes() (_swig_ret BBoxVector) {
1636 var swig_r BBoxVector
1637 _swig_i_0 := arg1
1638 swig_r = (BBoxVector)(SwigcptrBBoxVector(C._wrap_FaceDetectorResult_GetBboxes_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))))
1639 return swig_r
1640 }
1641
1642 func (arg1 SwigcptrFaceDetectorResult) GetLandmarks() (_swig_ret Landmarks5Vector) {
1643 var swig_r Landmarks5Vector
1644 _swig_i_0 := arg1
1645 swig_r = (Landmarks5Vector)(SwigcptrLandmarks5Vector(C._wrap_FaceDetectorResult_GetLandmarks_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))))
1646 return swig_r
1647 }
1648
1649 func (arg1 SwigcptrFaceDetectorResult) GetPoses() (_swig_ret IntVector) {
1650 var swig_r IntVector
1651 _swig_i_0 := arg1
1652 swig_r = (IntVector)(SwigcptrIntVector(C._wrap_FaceDetectorResult_GetPoses_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))))
1653 return swig_r
1654 }
1655
1656 func (arg1 SwigcptrFaceDetectorResult) GetReturnStatus() (_swig_ret IntVector) {
1657 var swig_r IntVector
1658 _swig_i_0 := arg1
1659 swig_r = (IntVector)(SwigcptrIntVector(C._wrap_FaceDetectorResult_GetReturnStatus_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))))
1660 return swig_r
1661 }
1662
1663 func DeleteFaceDetectorResult(arg1 FaceDetectorResult) {
1664 _swig_i_0 := arg1.Swigcptr()
1665 C._wrap_delete_FaceDetectorResult_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
1666 }
1667
1668 type FaceDetectorResult interface {
1669 Swigcptr() uintptr
1670 SwigIsFaceDetectorResult()
1671 GetSize() (_swig_ret int)
1672 GetScores() (_swig_ret FloatVector)
1673 GetBboxes() (_swig_ret BBoxVector)
1674 GetLandmarks() (_swig_ret Landmarks5Vector)
1675 GetPoses() (_swig_ret IntVector)
1676 GetReturnStatus() (_swig_ret IntVector)
1677 }
1678
1679 type SwigcptrFaceDetector uintptr
1680
1681 func (p SwigcptrFaceDetector) Swigcptr() uintptr {
1682 return (uintptr)(p)
1683 }
1684
1685 func (p SwigcptrFaceDetector) SwigIsFaceDetector() {
1686 }
1687
1688 func NewFaceDetector(arg1 LicenseManager) (_swig_ret FaceDetector) {
1689 var swig_r FaceDetector
1690 _swig_i_0 := arg1.Swigcptr()
1691 swig_r = (FaceDetector)(SwigcptrFaceDetector(C._wrap_new_FaceDetector_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))))
1692 return swig_r
1693 }
1694
1695 func (arg1 SwigcptrFaceDetector) DetectBatch__SWIG_0(arg2 MultiImage) (_swig_ret FaceDetectorResultVector) {
1696 var swig_r FaceDetectorResultVector
1697 _swig_i_0 := arg1
1698 _swig_i_1 := arg2.Swigcptr()
1699 swig_r = (FaceDetectorResultVector)(SwigcptrFaceDetectorResultVector(C._wrap_FaceDetector_DetectBatch__SWIG_0_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1))))
1700 return swig_r
1701 }
1702
1703 func (arg1 SwigcptrFaceDetector) DetectBatch__SWIG_1(arg2 MultiImage, arg3 float32) (_swig_ret FaceDetectorResultVector) {
1704 var swig_r FaceDetectorResultVector
1705 _swig_i_0 := arg1
1706 _swig_i_1 := arg2.Swigcptr()
1707 _swig_i_2 := arg3
1708 swig_r = (FaceDetectorResultVector)(SwigcptrFaceDetectorResultVector(C._wrap_FaceDetector_DetectBatch__SWIG_1_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1), C.float(_swig_i_2))))
1709 return swig_r
1710 }
1711
1712 func (p SwigcptrFaceDetector) DetectBatch(a ...interface{}) FaceDetectorResultVector {
1713 argc := len(a)
1714 if argc == 1 {
1715 return p.DetectBatch__SWIG_0(a[0].(MultiImage))
1716 }
1717 if argc == 2 {
1718 return p.DetectBatch__SWIG_1(a[0].(MultiImage), a[1].(float32))
1719 }
1720 panic("No match for overloaded function call")
1721 }
1722
1723 func (arg1 SwigcptrFaceDetector) Detect__SWIG_0(arg2 Image) (_swig_ret FaceDetectorResult) {
1724 var swig_r FaceDetectorResult
1725 _swig_i_0 := arg1
1726 _swig_i_1 := arg2.Swigcptr()
1727 swig_r = (FaceDetectorResult)(SwigcptrFaceDetectorResult(C._wrap_FaceDetector_Detect__SWIG_0_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1))))
1728 return swig_r
1729 }
1730
1731 func (arg1 SwigcptrFaceDetector) Detect__SWIG_1(arg2 Image, arg3 float32) (_swig_ret FaceDetectorResult) {
1732 var swig_r FaceDetectorResult
1733 _swig_i_0 := arg1
1734 _swig_i_1 := arg2.Swigcptr()
1735 _swig_i_2 := arg3
1736 swig_r = (FaceDetectorResult)(SwigcptrFaceDetectorResult(C._wrap_FaceDetector_Detect__SWIG_1_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1), C.float(_swig_i_2))))
1737 return swig_r
1738 }
1739
1740 func (p SwigcptrFaceDetector) Detect(a ...interface{}) FaceDetectorResult {
1741 argc := len(a)
1742 if argc == 1 {
1743 return p.Detect__SWIG_0(a[0].(Image))
1744 }
1745 if argc == 2 {
1746 return p.Detect__SWIG_1(a[0].(Image), a[1].(float32))
1747 }
1748 panic("No match for overloaded function call")
1749 }
1750
1751 func DeleteFaceDetector(arg1 FaceDetector) {
1752 _swig_i_0 := arg1.Swigcptr()
1753 C._wrap_delete_FaceDetector_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
1754 }
1755
1756 type FaceDetector interface {
1757 Swigcptr() uintptr
1758 SwigIsFaceDetector()
1759 DetectBatch(a ...interface{}) FaceDetectorResultVector
1760 Detect(a ...interface{}) FaceDetectorResult
1761 }
1762
1763 type OneMLFaceFaceDetectorStatus int
1764 func _swig_getFaceDetectorStatus_Empty() (_swig_ret OneMLFaceFaceDetectorStatus) {
1765 var swig_r OneMLFaceFaceDetectorStatus
1766 swig_r = (OneMLFaceFaceDetectorStatus)(C._wrap_FaceDetectorStatus_Empty_face_86f062e835b3dd07())
1767 return swig_r
1768 }
1769
1770 var FaceDetectorStatus_Empty OneMLFaceFaceDetectorStatus = _swig_getFaceDetectorStatus_Empty()
1771 func _swig_getFaceDetectorStatus_Success() (_swig_ret OneMLFaceFaceDetectorStatus) {
1772 var swig_r OneMLFaceFaceDetectorStatus
1773 swig_r = (OneMLFaceFaceDetectorStatus)(C._wrap_FaceDetectorStatus_Success_face_86f062e835b3dd07())
1774 return swig_r
1775 }
1776
1777 var FaceDetectorStatus_Success OneMLFaceFaceDetectorStatus = _swig_getFaceDetectorStatus_Success()
1778 func _swig_getFaceDetectorStatus_Fail() (_swig_ret OneMLFaceFaceDetectorStatus) {
1779 var swig_r OneMLFaceFaceDetectorStatus
1780 swig_r = (OneMLFaceFaceDetectorStatus)(C._wrap_FaceDetectorStatus_Fail_face_86f062e835b3dd07())
1781 return swig_r
1782 }
1783
1784 var FaceDetectorStatus_Fail OneMLFaceFaceDetectorStatus = _swig_getFaceDetectorStatus_Fail()
1785 type SwigcptrEmbeddingArray uintptr
1786
1787 func (p SwigcptrEmbeddingArray) Swigcptr() uintptr {
1788 return (uintptr)(p)
1789 }
1790
1791 func (p SwigcptrEmbeddingArray) SwigIsEmbeddingArray() {
1792 }
1793
1794 func NewEmbeddingArray__SWIG_0() (_swig_ret EmbeddingArray) {
1795 var swig_r EmbeddingArray
1796 swig_r = (EmbeddingArray)(SwigcptrEmbeddingArray(C._wrap_new_EmbeddingArray__SWIG_0_face_86f062e835b3dd07()))
1797 return swig_r
1798 }
1799
1800 func NewEmbeddingArray__SWIG_1(arg1 EmbeddingArray) (_swig_ret EmbeddingArray) {
1801 var swig_r EmbeddingArray
1802 _swig_i_0 := arg1.Swigcptr()
1803 swig_r = (EmbeddingArray)(SwigcptrEmbeddingArray(C._wrap_new_EmbeddingArray__SWIG_1_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))))
1804 return swig_r
1805 }
1806
1807 func NewEmbeddingArray(a ...interface{}) EmbeddingArray {
1808 argc := len(a)
1809 if argc == 0 {
1810 return NewEmbeddingArray__SWIG_0()
1811 }
1812 if argc == 1 {
1813 return NewEmbeddingArray__SWIG_1(a[0].(EmbeddingArray))
1814 }
1815 panic("No match for overloaded function call")
1816 }
1817
1818 func (arg1 SwigcptrEmbeddingArray) Size() (_swig_ret int64) {
1819 var swig_r int64
1820 _swig_i_0 := arg1
1821 swig_r = (int64)(C._wrap_EmbeddingArray_size_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
1822 return swig_r
1823 }
1824
1825 func (arg1 SwigcptrEmbeddingArray) IsEmpty() (_swig_ret bool) {
1826 var swig_r bool
1827 _swig_i_0 := arg1
1828 swig_r = (bool)(C._wrap_EmbeddingArray_isEmpty_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
1829 return swig_r
1830 }
1831
1832 func (arg1 SwigcptrEmbeddingArray) Fill(arg2 float32) {
1833 _swig_i_0 := arg1
1834 _swig_i_1 := arg2
1835 C._wrap_EmbeddingArray_fill_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.float(_swig_i_1))
1836 }
1837
1838 func (arg1 SwigcptrEmbeddingArray) Get(arg2 int) (_swig_ret float32) {
1839 var swig_r float32
1840 _swig_i_0 := arg1
1841 _swig_i_1 := arg2
1842 swig_r = (float32)(C._wrap_EmbeddingArray_get_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1)))
1843 return swig_r
1844 }
1845
1846 func (arg1 SwigcptrEmbeddingArray) Set(arg2 int, arg3 float32) {
1847 _swig_i_0 := arg1
1848 _swig_i_1 := arg2
1849 _swig_i_2 := arg3
1850 C._wrap_EmbeddingArray_set_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1), C.float(_swig_i_2))
1851 }
1852
1853 func DeleteEmbeddingArray(arg1 EmbeddingArray) {
1854 _swig_i_0 := arg1.Swigcptr()
1855 C._wrap_delete_EmbeddingArray_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
1856 }
1857
1858 type EmbeddingArray interface {
1859 Swigcptr() uintptr
1860 SwigIsEmbeddingArray()
1861 Size() (_swig_ret int64)
1862 IsEmpty() (_swig_ret bool)
1863 Fill(arg2 float32)
1864 Get(arg2 int) (_swig_ret float32)
1865 Set(arg2 int, arg3 float32)
1866 }
1867
1868 type SwigcptrFaceEmbedderResultVector uintptr
1869
1870 func (p SwigcptrFaceEmbedderResultVector) Swigcptr() uintptr {
1871 return (uintptr)(p)
1872 }
1873
1874 func (p SwigcptrFaceEmbedderResultVector) SwigIsFaceEmbedderResultVector() {
1875 }
1876
1877 func NewFaceEmbedderResultVector__SWIG_0() (_swig_ret FaceEmbedderResultVector) {
1878 var swig_r FaceEmbedderResultVector
1879 swig_r = (FaceEmbedderResultVector)(SwigcptrFaceEmbedderResultVector(C._wrap_new_FaceEmbedderResultVector__SWIG_0_face_86f062e835b3dd07()))
1880 return swig_r
1881 }
1882
1883 func NewFaceEmbedderResultVector__SWIG_1(arg1 int64) (_swig_ret FaceEmbedderResultVector) {
1884 var swig_r FaceEmbedderResultVector
1885 _swig_i_0 := arg1
1886 swig_r = (FaceEmbedderResultVector)(SwigcptrFaceEmbedderResultVector(C._wrap_new_FaceEmbedderResultVector__SWIG_1_face_86f062e835b3dd07(C.swig_type_30(_swig_i_0))))
1887 return swig_r
1888 }
1889
1890 func NewFaceEmbedderResultVector__SWIG_2(arg1 FaceEmbedderResultVector) (_swig_ret FaceEmbedderResultVector) {
1891 var swig_r FaceEmbedderResultVector
1892 _swig_i_0 := arg1.Swigcptr()
1893 swig_r = (FaceEmbedderResultVector)(SwigcptrFaceEmbedderResultVector(C._wrap_new_FaceEmbedderResultVector__SWIG_2_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))))
1894 return swig_r
1895 }
1896
1897 func NewFaceEmbedderResultVector(a ...interface{}) FaceEmbedderResultVector {
1898 argc := len(a)
1899 if argc == 0 {
1900 return NewFaceEmbedderResultVector__SWIG_0()
1901 }
1902 if argc == 1 {
1903 if _, ok := a[0].(int64); !ok {
1904 goto check_2
1905 }
1906 return NewFaceEmbedderResultVector__SWIG_1(a[0].(int64))
1907 }
1908 check_2:
1909 if argc == 1 {
1910 return NewFaceEmbedderResultVector__SWIG_2(a[0].(FaceEmbedderResultVector))
1911 }
1912 panic("No match for overloaded function call")
1913 }
1914
1915 func (arg1 SwigcptrFaceEmbedderResultVector) Size() (_swig_ret int64) {
1916 var swig_r int64
1917 _swig_i_0 := arg1
1918 swig_r = (int64)(C._wrap_FaceEmbedderResultVector_size_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
1919 return swig_r
1920 }
1921
1922 func (arg1 SwigcptrFaceEmbedderResultVector) Capacity() (_swig_ret int64) {
1923 var swig_r int64
1924 _swig_i_0 := arg1
1925 swig_r = (int64)(C._wrap_FaceEmbedderResultVector_capacity_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
1926 return swig_r
1927 }
1928
1929 func (arg1 SwigcptrFaceEmbedderResultVector) Reserve(arg2 int64) {
1930 _swig_i_0 := arg1
1931 _swig_i_1 := arg2
1932 C._wrap_FaceEmbedderResultVector_reserve_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.swig_type_33(_swig_i_1))
1933 }
1934
1935 func (arg1 SwigcptrFaceEmbedderResultVector) IsEmpty() (_swig_ret bool) {
1936 var swig_r bool
1937 _swig_i_0 := arg1
1938 swig_r = (bool)(C._wrap_FaceEmbedderResultVector_isEmpty_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
1939 return swig_r
1940 }
1941
1942 func (arg1 SwigcptrFaceEmbedderResultVector) Clear() {
1943 _swig_i_0 := arg1
1944 C._wrap_FaceEmbedderResultVector_clear_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
1945 }
1946
1947 func (arg1 SwigcptrFaceEmbedderResultVector) Add(arg2 FaceEmbedderResult) {
1948 _swig_i_0 := arg1
1949 _swig_i_1 := arg2.Swigcptr()
1950 C._wrap_FaceEmbedderResultVector_add_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1))
1951 }
1952
1953 func (arg1 SwigcptrFaceEmbedderResultVector) Get(arg2 int) (_swig_ret FaceEmbedderResult) {
1954 var swig_r FaceEmbedderResult
1955 _swig_i_0 := arg1
1956 _swig_i_1 := arg2
1957 swig_r = (FaceEmbedderResult)(SwigcptrFaceEmbedderResult(C._wrap_FaceEmbedderResultVector_get_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1))))
1958 return swig_r
1959 }
1960
1961 func (arg1 SwigcptrFaceEmbedderResultVector) Set(arg2 int, arg3 FaceEmbedderResult) {
1962 _swig_i_0 := arg1
1963 _swig_i_1 := arg2
1964 _swig_i_2 := arg3.Swigcptr()
1965 C._wrap_FaceEmbedderResultVector_set_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1), C.uintptr_t(_swig_i_2))
1966 }
1967
1968 func DeleteFaceEmbedderResultVector(arg1 FaceEmbedderResultVector) {
1969 _swig_i_0 := arg1.Swigcptr()
1970 C._wrap_delete_FaceEmbedderResultVector_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
1971 }
1972
1973 type FaceEmbedderResultVector interface {
1974 Swigcptr() uintptr
1975 SwigIsFaceEmbedderResultVector()
1976 Size() (_swig_ret int64)
1977 Capacity() (_swig_ret int64)
1978 Reserve(arg2 int64)
1979 IsEmpty() (_swig_ret bool)
1980 Clear()
1981 Add(arg2 FaceEmbedderResult)
1982 Get(arg2 int) (_swig_ret FaceEmbedderResult)
1983 Set(arg2 int, arg3 FaceEmbedderResult)
1984 }
1985
1986 type SwigcptrFaceEmbedderResult uintptr
1987
1988 func (p SwigcptrFaceEmbedderResult) Swigcptr() uintptr {
1989 return (uintptr)(p)
1990 }
1991
1992 func (p SwigcptrFaceEmbedderResult) SwigIsFaceEmbedderResult() {
1993 }
1994
1995 func NewFaceEmbedderResult() (_swig_ret FaceEmbedderResult) {
1996 var swig_r FaceEmbedderResult
1997 swig_r = (FaceEmbedderResult)(SwigcptrFaceEmbedderResult(C._wrap_new_FaceEmbedderResult_face_86f062e835b3dd07()))
1998 return swig_r
1999 }
2000
2001 func (arg1 SwigcptrFaceEmbedderResult) GetSize() (_swig_ret int) {
2002 var swig_r int
2003 _swig_i_0 := arg1
2004 swig_r = (int)(C._wrap_FaceEmbedderResult_GetSize_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
2005 return swig_r
2006 }
2007
2008 func (arg1 SwigcptrFaceEmbedderResult) GetEmbedding() (_swig_ret EmbeddingArray) {
2009 var swig_r EmbeddingArray
2010 _swig_i_0 := arg1
2011 swig_r = (EmbeddingArray)(SwigcptrEmbeddingArray(C._wrap_FaceEmbedderResult_GetEmbedding_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))))
2012 return swig_r
2013 }
2014
2015 func (arg1 SwigcptrFaceEmbedderResult) GetReturnStatus() (_swig_ret int) {
2016 var swig_r int
2017 _swig_i_0 := arg1
2018 swig_r = (int)(C._wrap_FaceEmbedderResult_GetReturnStatus_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
2019 return swig_r
2020 }
2021
2022 func DeleteFaceEmbedderResult(arg1 FaceEmbedderResult) {
2023 _swig_i_0 := arg1.Swigcptr()
2024 C._wrap_delete_FaceEmbedderResult_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
2025 }
2026
2027 type FaceEmbedderResult interface {
2028 Swigcptr() uintptr
2029 SwigIsFaceEmbedderResult()
2030 GetSize() (_swig_ret int)
2031 GetEmbedding() (_swig_ret EmbeddingArray)
2032 GetReturnStatus() (_swig_ret int)
2033 }
2034
2035 type SwigcptrFaceEmbedder uintptr
2036
2037 func (p SwigcptrFaceEmbedder) Swigcptr() uintptr {
2038 return (uintptr)(p)
2039 }
2040
2041 func (p SwigcptrFaceEmbedder) SwigIsFaceEmbedder() {
2042 }
2043
2044 func NewFaceEmbedder(arg1 LicenseManager) (_swig_ret FaceEmbedder) {
2045 var swig_r FaceEmbedder
2046 _swig_i_0 := arg1.Swigcptr()
2047 swig_r = (FaceEmbedder)(SwigcptrFaceEmbedder(C._wrap_new_FaceEmbedder_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))))
2048 return swig_r
2049 }
2050
2051 func (arg1 SwigcptrFaceEmbedder) Embed__SWIG_0(arg2 Image, arg3 bool) (_swig_ret FaceEmbedderResult) {
2052 var swig_r FaceEmbedderResult
2053 _swig_i_0 := arg1
2054 _swig_i_1 := arg2.Swigcptr()
2055 _swig_i_2 := arg3
2056 swig_r = (FaceEmbedderResult)(SwigcptrFaceEmbedderResult(C._wrap_FaceEmbedder_Embed__SWIG_0_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1), C._Bool(_swig_i_2))))
2057 return swig_r
2058 }
2059
2060 func (arg1 SwigcptrFaceEmbedder) Embed__SWIG_1(arg2 Image) (_swig_ret FaceEmbedderResult) {
2061 var swig_r FaceEmbedderResult
2062 _swig_i_0 := arg1
2063 _swig_i_1 := arg2.Swigcptr()
2064 swig_r = (FaceEmbedderResult)(SwigcptrFaceEmbedderResult(C._wrap_FaceEmbedder_Embed__SWIG_1_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1))))
2065 return swig_r
2066 }
2067
2068 func (p SwigcptrFaceEmbedder) Embed(a ...interface{}) FaceEmbedderResult {
2069 argc := len(a)
2070 if argc == 1 {
2071 return p.Embed__SWIG_1(a[0].(Image))
2072 }
2073 if argc == 2 {
2074 return p.Embed__SWIG_0(a[0].(Image), a[1].(bool))
2075 }
2076 panic("No match for overloaded function call")
2077 }
2078
2079 func (arg1 SwigcptrFaceEmbedder) EmbedBatch__SWIG_0(arg2 MultiImage, arg3 bool) (_swig_ret FaceEmbedderResultVector) {
2080 var swig_r FaceEmbedderResultVector
2081 _swig_i_0 := arg1
2082 _swig_i_1 := arg2.Swigcptr()
2083 _swig_i_2 := arg3
2084 swig_r = (FaceEmbedderResultVector)(SwigcptrFaceEmbedderResultVector(C._wrap_FaceEmbedder_EmbedBatch__SWIG_0_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1), C._Bool(_swig_i_2))))
2085 return swig_r
2086 }
2087
2088 func (arg1 SwigcptrFaceEmbedder) EmbedBatch__SWIG_1(arg2 MultiImage) (_swig_ret FaceEmbedderResultVector) {
2089 var swig_r FaceEmbedderResultVector
2090 _swig_i_0 := arg1
2091 _swig_i_1 := arg2.Swigcptr()
2092 swig_r = (FaceEmbedderResultVector)(SwigcptrFaceEmbedderResultVector(C._wrap_FaceEmbedder_EmbedBatch__SWIG_1_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1))))
2093 return swig_r
2094 }
2095
2096 func (p SwigcptrFaceEmbedder) EmbedBatch(a ...interface{}) FaceEmbedderResultVector {
2097 argc := len(a)
2098 if argc == 1 {
2099 return p.EmbedBatch__SWIG_1(a[0].(MultiImage))
2100 }
2101 if argc == 2 {
2102 return p.EmbedBatch__SWIG_0(a[0].(MultiImage), a[1].(bool))
2103 }
2104 panic("No match for overloaded function call")
2105 }
2106
2107 func DeleteFaceEmbedder(arg1 FaceEmbedder) {
2108 _swig_i_0 := arg1.Swigcptr()
2109 C._wrap_delete_FaceEmbedder_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
2110 }
2111
2112 type FaceEmbedder interface {
2113 Swigcptr() uintptr
2114 SwigIsFaceEmbedder()
2115 Embed(a ...interface{}) FaceEmbedderResult
2116 EmbedBatch(a ...interface{}) FaceEmbedderResultVector
2117 }
2118
2119 type OneMLFaceFaceEmbedderStatus int
2120 func _swig_getFaceEmbedderStatus_Empty() (_swig_ret OneMLFaceFaceEmbedderStatus) {
2121 var swig_r OneMLFaceFaceEmbedderStatus
2122 swig_r = (OneMLFaceFaceEmbedderStatus)(C._wrap_FaceEmbedderStatus_Empty_face_86f062e835b3dd07())
2123 return swig_r
2124 }
2125
2126 var FaceEmbedderStatus_Empty OneMLFaceFaceEmbedderStatus = _swig_getFaceEmbedderStatus_Empty()
2127 func _swig_getFaceEmbedderStatus_Success() (_swig_ret OneMLFaceFaceEmbedderStatus) {
2128 var swig_r OneMLFaceFaceEmbedderStatus
2129 swig_r = (OneMLFaceFaceEmbedderStatus)(C._wrap_FaceEmbedderStatus_Success_face_86f062e835b3dd07())
2130 return swig_r
2131 }
2132
2133 var FaceEmbedderStatus_Success OneMLFaceFaceEmbedderStatus = _swig_getFaceEmbedderStatus_Success()
2134 func _swig_getFaceEmbedderStatus_Fail() (_swig_ret OneMLFaceFaceEmbedderStatus) {
2135 var swig_r OneMLFaceFaceEmbedderStatus
2136 swig_r = (OneMLFaceFaceEmbedderStatus)(C._wrap_FaceEmbedderStatus_Fail_face_86f062e835b3dd07())
2137 return swig_r
2138 }
2139
2140 var FaceEmbedderStatus_Fail OneMLFaceFaceEmbedderStatus = _swig_getFaceEmbedderStatus_Fail()
2141 type SwigcptrFaceIdResultVector uintptr
2142
2143 func (p SwigcptrFaceIdResultVector) Swigcptr() uintptr {
2144 return (uintptr)(p)
2145 }
2146
2147 func (p SwigcptrFaceIdResultVector) SwigIsFaceIdResultVector() {
2148 }
2149
2150 func NewFaceIdResultVector__SWIG_0() (_swig_ret FaceIdResultVector) {
2151 var swig_r FaceIdResultVector
2152 swig_r = (FaceIdResultVector)(SwigcptrFaceIdResultVector(C._wrap_new_FaceIdResultVector__SWIG_0_face_86f062e835b3dd07()))
2153 return swig_r
2154 }
2155
2156 func NewFaceIdResultVector__SWIG_1(arg1 int64) (_swig_ret FaceIdResultVector) {
2157 var swig_r FaceIdResultVector
2158 _swig_i_0 := arg1
2159 swig_r = (FaceIdResultVector)(SwigcptrFaceIdResultVector(C._wrap_new_FaceIdResultVector__SWIG_1_face_86f062e835b3dd07(C.swig_type_34(_swig_i_0))))
2160 return swig_r
2161 }
2162
2163 func NewFaceIdResultVector__SWIG_2(arg1 FaceIdResultVector) (_swig_ret FaceIdResultVector) {
2164 var swig_r FaceIdResultVector
2165 _swig_i_0 := arg1.Swigcptr()
2166 swig_r = (FaceIdResultVector)(SwigcptrFaceIdResultVector(C._wrap_new_FaceIdResultVector__SWIG_2_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))))
2167 return swig_r
2168 }
2169
2170 func NewFaceIdResultVector(a ...interface{}) FaceIdResultVector {
2171 argc := len(a)
2172 if argc == 0 {
2173 return NewFaceIdResultVector__SWIG_0()
2174 }
2175 if argc == 1 {
2176 if _, ok := a[0].(int64); !ok {
2177 goto check_2
2178 }
2179 return NewFaceIdResultVector__SWIG_1(a[0].(int64))
2180 }
2181 check_2:
2182 if argc == 1 {
2183 return NewFaceIdResultVector__SWIG_2(a[0].(FaceIdResultVector))
2184 }
2185 panic("No match for overloaded function call")
2186 }
2187
2188 func (arg1 SwigcptrFaceIdResultVector) Size() (_swig_ret int64) {
2189 var swig_r int64
2190 _swig_i_0 := arg1
2191 swig_r = (int64)(C._wrap_FaceIdResultVector_size_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
2192 return swig_r
2193 }
2194
2195 func (arg1 SwigcptrFaceIdResultVector) Capacity() (_swig_ret int64) {
2196 var swig_r int64
2197 _swig_i_0 := arg1
2198 swig_r = (int64)(C._wrap_FaceIdResultVector_capacity_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
2199 return swig_r
2200 }
2201
2202 func (arg1 SwigcptrFaceIdResultVector) Reserve(arg2 int64) {
2203 _swig_i_0 := arg1
2204 _swig_i_1 := arg2
2205 C._wrap_FaceIdResultVector_reserve_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.swig_type_37(_swig_i_1))
2206 }
2207
2208 func (arg1 SwigcptrFaceIdResultVector) IsEmpty() (_swig_ret bool) {
2209 var swig_r bool
2210 _swig_i_0 := arg1
2211 swig_r = (bool)(C._wrap_FaceIdResultVector_isEmpty_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
2212 return swig_r
2213 }
2214
2215 func (arg1 SwigcptrFaceIdResultVector) Clear() {
2216 _swig_i_0 := arg1
2217 C._wrap_FaceIdResultVector_clear_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
2218 }
2219
2220 func (arg1 SwigcptrFaceIdResultVector) Add(arg2 FaceIdResult) {
2221 _swig_i_0 := arg1
2222 _swig_i_1 := arg2.Swigcptr()
2223 C._wrap_FaceIdResultVector_add_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1))
2224 }
2225
2226 func (arg1 SwigcptrFaceIdResultVector) Get(arg2 int) (_swig_ret FaceIdResult) {
2227 var swig_r FaceIdResult
2228 _swig_i_0 := arg1
2229 _swig_i_1 := arg2
2230 swig_r = (FaceIdResult)(SwigcptrFaceIdResult(C._wrap_FaceIdResultVector_get_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1))))
2231 return swig_r
2232 }
2233
2234 func (arg1 SwigcptrFaceIdResultVector) Set(arg2 int, arg3 FaceIdResult) {
2235 _swig_i_0 := arg1
2236 _swig_i_1 := arg2
2237 _swig_i_2 := arg3.Swigcptr()
2238 C._wrap_FaceIdResultVector_set_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1), C.uintptr_t(_swig_i_2))
2239 }
2240
2241 func DeleteFaceIdResultVector(arg1 FaceIdResultVector) {
2242 _swig_i_0 := arg1.Swigcptr()
2243 C._wrap_delete_FaceIdResultVector_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
2244 }
2245
2246 type FaceIdResultVector interface {
2247 Swigcptr() uintptr
2248 SwigIsFaceIdResultVector()
2249 Size() (_swig_ret int64)
2250 Capacity() (_swig_ret int64)
2251 Reserve(arg2 int64)
2252 IsEmpty() (_swig_ret bool)
2253 Clear()
2254 Add(arg2 FaceIdResult)
2255 Get(arg2 int) (_swig_ret FaceIdResult)
2256 Set(arg2 int, arg3 FaceIdResult)
2257 }
2258
2259 type SwigcptrStringVector uintptr
2260
2261 func (p SwigcptrStringVector) Swigcptr() uintptr {
2262 return (uintptr)(p)
2263 }
2264
2265 func (p SwigcptrStringVector) SwigIsStringVector() {
2266 }
2267
2268 func NewStringVector__SWIG_0() (_swig_ret StringVector) {
2269 var swig_r StringVector
2270 swig_r = (StringVector)(SwigcptrStringVector(C._wrap_new_StringVector__SWIG_0_face_86f062e835b3dd07()))
2271 return swig_r
2272 }
2273
2274 func NewStringVector__SWIG_1(arg1 int64) (_swig_ret StringVector) {
2275 var swig_r StringVector
2276 _swig_i_0 := arg1
2277 swig_r = (StringVector)(SwigcptrStringVector(C._wrap_new_StringVector__SWIG_1_face_86f062e835b3dd07(C.swig_type_38(_swig_i_0))))
2278 return swig_r
2279 }
2280
2281 func NewStringVector__SWIG_2(arg1 StringVector) (_swig_ret StringVector) {
2282 var swig_r StringVector
2283 _swig_i_0 := arg1.Swigcptr()
2284 swig_r = (StringVector)(SwigcptrStringVector(C._wrap_new_StringVector__SWIG_2_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))))
2285 return swig_r
2286 }
2287
2288 func NewStringVector(a ...interface{}) StringVector {
2289 argc := len(a)
2290 if argc == 0 {
2291 return NewStringVector__SWIG_0()
2292 }
2293 if argc == 1 {
2294 if _, ok := a[0].(int64); !ok {
2295 goto check_2
2296 }
2297 return NewStringVector__SWIG_1(a[0].(int64))
2298 }
2299 check_2:
2300 if argc == 1 {
2301 return NewStringVector__SWIG_2(a[0].(StringVector))
2302 }
2303 panic("No match for overloaded function call")
2304 }
2305
2306 func (arg1 SwigcptrStringVector) Size() (_swig_ret int64) {
2307 var swig_r int64
2308 _swig_i_0 := arg1
2309 swig_r = (int64)(C._wrap_StringVector_size_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
2310 return swig_r
2311 }
2312
2313 func (arg1 SwigcptrStringVector) Capacity() (_swig_ret int64) {
2314 var swig_r int64
2315 _swig_i_0 := arg1
2316 swig_r = (int64)(C._wrap_StringVector_capacity_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
2317 return swig_r
2318 }
2319
2320 func (arg1 SwigcptrStringVector) Reserve(arg2 int64) {
2321 _swig_i_0 := arg1
2322 _swig_i_1 := arg2
2323 C._wrap_StringVector_reserve_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.swig_type_41(_swig_i_1))
2324 }
2325
2326 func (arg1 SwigcptrStringVector) IsEmpty() (_swig_ret bool) {
2327 var swig_r bool
2328 _swig_i_0 := arg1
2329 swig_r = (bool)(C._wrap_StringVector_isEmpty_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
2330 return swig_r
2331 }
2332
2333 func (arg1 SwigcptrStringVector) Clear() {
2334 _swig_i_0 := arg1
2335 C._wrap_StringVector_clear_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
2336 }
2337
2338 func (arg1 SwigcptrStringVector) Add(arg2 string) {
2339 _swig_i_0 := arg1
2340 _swig_i_1 := arg2
2341 C._wrap_StringVector_add_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), *(*C.swig_type_42)(unsafe.Pointer(&_swig_i_1)))
2342 if Swig_escape_always_false {
2343 Swig_escape_val = arg2
2344 }
2345 }
2346
2347 func (arg1 SwigcptrStringVector) Get(arg2 int) (_swig_ret string) {
2348 var swig_r string
2349 _swig_i_0 := arg1
2350 _swig_i_1 := arg2
2351 swig_r_p := C._wrap_StringVector_get_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1))
2352 swig_r = *(*string)(unsafe.Pointer(&swig_r_p))
2353 var swig_r_1 string
2354 swig_r_1 = swigCopyString(swig_r)
2355 return swig_r_1
2356 }
2357
2358 func (arg1 SwigcptrStringVector) Set(arg2 int, arg3 string) {
2359 _swig_i_0 := arg1
2360 _swig_i_1 := arg2
2361 _swig_i_2 := arg3
2362 C._wrap_StringVector_set_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1), *(*C.swig_type_44)(unsafe.Pointer(&_swig_i_2)))
2363 if Swig_escape_always_false {
2364 Swig_escape_val = arg3
2365 }
2366 }
2367
2368 func DeleteStringVector(arg1 StringVector) {
2369 _swig_i_0 := arg1.Swigcptr()
2370 C._wrap_delete_StringVector_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
2371 }
2372
2373 type StringVector interface {
2374 Swigcptr() uintptr
2375 SwigIsStringVector()
2376 Size() (_swig_ret int64)
2377 Capacity() (_swig_ret int64)
2378 Reserve(arg2 int64)
2379 IsEmpty() (_swig_ret bool)
2380 Clear()
2381 Add(arg2 string)
2382 Get(arg2 int) (_swig_ret string)
2383 Set(arg2 int, arg3 string)
2384 }
2385
2386 type SwigcptrEmbeddingsVector uintptr
2387
2388 func (p SwigcptrEmbeddingsVector) Swigcptr() uintptr {
2389 return (uintptr)(p)
2390 }
2391
2392 func (p SwigcptrEmbeddingsVector) SwigIsEmbeddingsVector() {
2393 }
2394
2395 func NewEmbeddingsVector__SWIG_0() (_swig_ret EmbeddingsVector) {
2396 var swig_r EmbeddingsVector
2397 swig_r = (EmbeddingsVector)(SwigcptrEmbeddingsVector(C._wrap_new_EmbeddingsVector__SWIG_0_face_86f062e835b3dd07()))
2398 return swig_r
2399 }
2400
2401 func NewEmbeddingsVector__SWIG_1(arg1 int64) (_swig_ret EmbeddingsVector) {
2402 var swig_r EmbeddingsVector
2403 _swig_i_0 := arg1
2404 swig_r = (EmbeddingsVector)(SwigcptrEmbeddingsVector(C._wrap_new_EmbeddingsVector__SWIG_1_face_86f062e835b3dd07(C.swig_type_45(_swig_i_0))))
2405 return swig_r
2406 }
2407
2408 func NewEmbeddingsVector__SWIG_2(arg1 EmbeddingsVector) (_swig_ret EmbeddingsVector) {
2409 var swig_r EmbeddingsVector
2410 _swig_i_0 := arg1.Swigcptr()
2411 swig_r = (EmbeddingsVector)(SwigcptrEmbeddingsVector(C._wrap_new_EmbeddingsVector__SWIG_2_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))))
2412 return swig_r
2413 }
2414
2415 func NewEmbeddingsVector(a ...interface{}) EmbeddingsVector {
2416 argc := len(a)
2417 if argc == 0 {
2418 return NewEmbeddingsVector__SWIG_0()
2419 }
2420 if argc == 1 {
2421 if _, ok := a[0].(int64); !ok {
2422 goto check_2
2423 }
2424 return NewEmbeddingsVector__SWIG_1(a[0].(int64))
2425 }
2426 check_2:
2427 if argc == 1 {
2428 return NewEmbeddingsVector__SWIG_2(a[0].(EmbeddingsVector))
2429 }
2430 panic("No match for overloaded function call")
2431 }
2432
2433 func (arg1 SwigcptrEmbeddingsVector) Size() (_swig_ret int64) {
2434 var swig_r int64
2435 _swig_i_0 := arg1
2436 swig_r = (int64)(C._wrap_EmbeddingsVector_size_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
2437 return swig_r
2438 }
2439
2440 func (arg1 SwigcptrEmbeddingsVector) Capacity() (_swig_ret int64) {
2441 var swig_r int64
2442 _swig_i_0 := arg1
2443 swig_r = (int64)(C._wrap_EmbeddingsVector_capacity_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
2444 return swig_r
2445 }
2446
2447 func (arg1 SwigcptrEmbeddingsVector) Reserve(arg2 int64) {
2448 _swig_i_0 := arg1
2449 _swig_i_1 := arg2
2450 C._wrap_EmbeddingsVector_reserve_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.swig_type_48(_swig_i_1))
2451 }
2452
2453 func (arg1 SwigcptrEmbeddingsVector) IsEmpty() (_swig_ret bool) {
2454 var swig_r bool
2455 _swig_i_0 := arg1
2456 swig_r = (bool)(C._wrap_EmbeddingsVector_isEmpty_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
2457 return swig_r
2458 }
2459
2460 func (arg1 SwigcptrEmbeddingsVector) Clear() {
2461 _swig_i_0 := arg1
2462 C._wrap_EmbeddingsVector_clear_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
2463 }
2464
2465 func (arg1 SwigcptrEmbeddingsVector) Add(arg2 EmbeddingArray) {
2466 _swig_i_0 := arg1
2467 _swig_i_1 := arg2.Swigcptr()
2468 C._wrap_EmbeddingsVector_add_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1))
2469 }
2470
2471 func (arg1 SwigcptrEmbeddingsVector) Get(arg2 int) (_swig_ret EmbeddingArray) {
2472 var swig_r EmbeddingArray
2473 _swig_i_0 := arg1
2474 _swig_i_1 := arg2
2475 swig_r = (EmbeddingArray)(SwigcptrEmbeddingArray(C._wrap_EmbeddingsVector_get_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1))))
2476 return swig_r
2477 }
2478
2479 func (arg1 SwigcptrEmbeddingsVector) Set(arg2 int, arg3 EmbeddingArray) {
2480 _swig_i_0 := arg1
2481 _swig_i_1 := arg2
2482 _swig_i_2 := arg3.Swigcptr()
2483 C._wrap_EmbeddingsVector_set_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1), C.uintptr_t(_swig_i_2))
2484 }
2485
2486 func DeleteEmbeddingsVector(arg1 EmbeddingsVector) {
2487 _swig_i_0 := arg1.Swigcptr()
2488 C._wrap_delete_EmbeddingsVector_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
2489 }
2490
2491 type EmbeddingsVector interface {
2492 Swigcptr() uintptr
2493 SwigIsEmbeddingsVector()
2494 Size() (_swig_ret int64)
2495 Capacity() (_swig_ret int64)
2496 Reserve(arg2 int64)
2497 IsEmpty() (_swig_ret bool)
2498 Clear()
2499 Add(arg2 EmbeddingArray)
2500 Get(arg2 int) (_swig_ret EmbeddingArray)
2501 Set(arg2 int, arg3 EmbeddingArray)
2502 }
2503
2504 type SwigcptrSamePersonResult uintptr
2505
2506 func (p SwigcptrSamePersonResult) Swigcptr() uintptr {
2507 return (uintptr)(p)
2508 }
2509
2510 func (p SwigcptrSamePersonResult) SwigIsSamePersonResult() {
2511 }
2512
2513 func NewSamePersonResult__SWIG_0() (_swig_ret SamePersonResult) {
2514 var swig_r SamePersonResult
2515 swig_r = (SamePersonResult)(SwigcptrSamePersonResult(C._wrap_new_SamePersonResult__SWIG_0_face_86f062e835b3dd07()))
2516 return swig_r
2517 }
2518
2519 func NewSamePersonResult__SWIG_1(arg1 bool, arg2 EmbeddingArray) (_swig_ret SamePersonResult) {
2520 var swig_r SamePersonResult
2521 _swig_i_0 := arg1
2522 _swig_i_1 := arg2.Swigcptr()
2523 swig_r = (SamePersonResult)(SwigcptrSamePersonResult(C._wrap_new_SamePersonResult__SWIG_1_face_86f062e835b3dd07(C._Bool(_swig_i_0), C.uintptr_t(_swig_i_1))))
2524 return swig_r
2525 }
2526
2527 func NewSamePersonResult__SWIG_2(arg1 SamePersonResult) (_swig_ret SamePersonResult) {
2528 var swig_r SamePersonResult
2529 _swig_i_0 := arg1.Swigcptr()
2530 swig_r = (SamePersonResult)(SwigcptrSamePersonResult(C._wrap_new_SamePersonResult__SWIG_2_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))))
2531 return swig_r
2532 }
2533
2534 func NewSamePersonResult(a ...interface{}) SamePersonResult {
2535 argc := len(a)
2536 if argc == 0 {
2537 return NewSamePersonResult__SWIG_0()
2538 }
2539 if argc == 1 {
2540 return NewSamePersonResult__SWIG_2(a[0].(SamePersonResult))
2541 }
2542 if argc == 2 {
2543 return NewSamePersonResult__SWIG_1(a[0].(bool), a[1].(EmbeddingArray))
2544 }
2545 panic("No match for overloaded function call")
2546 }
2547
2548 func (arg1 SwigcptrSamePersonResult) SetFirst(arg2 bool) {
2549 _swig_i_0 := arg1
2550 _swig_i_1 := arg2
2551 C._wrap_SamePersonResult_first_set_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C._Bool(_swig_i_1))
2552 }
2553
2554 func (arg1 SwigcptrSamePersonResult) GetFirst() (_swig_ret bool) {
2555 var swig_r bool
2556 _swig_i_0 := arg1
2557 swig_r = (bool)(C._wrap_SamePersonResult_first_get_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
2558 return swig_r
2559 }
2560
2561 func (arg1 SwigcptrSamePersonResult) SetSecond(arg2 EmbeddingArray) {
2562 _swig_i_0 := arg1
2563 _swig_i_1 := arg2.Swigcptr()
2564 C._wrap_SamePersonResult_second_set_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1))
2565 }
2566
2567 func (arg1 SwigcptrSamePersonResult) GetSecond() (_swig_ret EmbeddingArray) {
2568 var swig_r EmbeddingArray
2569 _swig_i_0 := arg1
2570 swig_r = (EmbeddingArray)(SwigcptrEmbeddingArray(C._wrap_SamePersonResult_second_get_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))))
2571 return swig_r
2572 }
2573
2574 func DeleteSamePersonResult(arg1 SamePersonResult) {
2575 _swig_i_0 := arg1.Swigcptr()
2576 C._wrap_delete_SamePersonResult_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
2577 }
2578
2579 type SamePersonResult interface {
2580 Swigcptr() uintptr
2581 SwigIsSamePersonResult()
2582 SetFirst(arg2 bool)
2583 GetFirst() (_swig_ret bool)
2584 SetSecond(arg2 EmbeddingArray)
2585 GetSecond() (_swig_ret EmbeddingArray)
2586 }
2587
2588 type SwigcptrFaceIdResult uintptr
2589
2590 func (p SwigcptrFaceIdResult) Swigcptr() uintptr {
2591 return (uintptr)(p)
2592 }
2593
2594 func (p SwigcptrFaceIdResult) SwigIsFaceIdResult() {
2595 }
2596
2597 func NewFaceIdResult() (_swig_ret FaceIdResult) {
2598 var swig_r FaceIdResult
2599 swig_r = (FaceIdResult)(SwigcptrFaceIdResult(C._wrap_new_FaceIdResult_face_86f062e835b3dd07()))
2600 return swig_r
2601 }
2602
2603 func (arg1 SwigcptrFaceIdResult) GetId() (_swig_ret string) {
2604 var swig_r string
2605 _swig_i_0 := arg1
2606 swig_r_p := C._wrap_FaceIdResult_GetId_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
2607 swig_r = *(*string)(unsafe.Pointer(&swig_r_p))
2608 var swig_r_1 string
2609 swig_r_1 = swigCopyString(swig_r)
2610 return swig_r_1
2611 }
2612
2613 func (arg1 SwigcptrFaceIdResult) GetNearestNodeDistance() (_swig_ret float32) {
2614 var swig_r float32
2615 _swig_i_0 := arg1
2616 swig_r = (float32)(C._wrap_FaceIdResult_GetNearestNodeDistance_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
2617 return swig_r
2618 }
2619
2620 func (arg1 SwigcptrFaceIdResult) GetCombinedDistance() (_swig_ret float32) {
2621 var swig_r float32
2622 _swig_i_0 := arg1
2623 swig_r = (float32)(C._wrap_FaceIdResult_GetCombinedDistance_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
2624 return swig_r
2625 }
2626
2627 func (arg1 SwigcptrFaceIdResult) IsIdentifiable() (_swig_ret bool) {
2628 var swig_r bool
2629 _swig_i_0 := arg1
2630 swig_r = (bool)(C._wrap_FaceIdResult_IsIdentifiable_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
2631 return swig_r
2632 }
2633
2634 func (arg1 SwigcptrFaceIdResult) GetReturnStatus() (_swig_ret int) {
2635 var swig_r int
2636 _swig_i_0 := arg1
2637 swig_r = (int)(C._wrap_FaceIdResult_GetReturnStatus_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
2638 return swig_r
2639 }
2640
2641 func DeleteFaceIdResult(arg1 FaceIdResult) {
2642 _swig_i_0 := arg1.Swigcptr()
2643 C._wrap_delete_FaceIdResult_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
2644 }
2645
2646 type FaceIdResult interface {
2647 Swigcptr() uintptr
2648 SwigIsFaceIdResult()
2649 GetId() (_swig_ret string)
2650 GetNearestNodeDistance() (_swig_ret float32)
2651 GetCombinedDistance() (_swig_ret float32)
2652 IsIdentifiable() (_swig_ret bool)
2653 GetReturnStatus() (_swig_ret int)
2654 }
2655
2656 type SwigcptrFaceId uintptr
2657
2658 func (p SwigcptrFaceId) Swigcptr() uintptr {
2659 return (uintptr)(p)
2660 }
2661
2662 func (p SwigcptrFaceId) SwigIsFaceId() {
2663 }
2664
2665 func NewFaceId__SWIG_0(arg1 LicenseManager) (_swig_ret FaceId) {
2666 var swig_r FaceId
2667 _swig_i_0 := arg1.Swigcptr()
2668 swig_r = (FaceId)(SwigcptrFaceId(C._wrap_new_FaceId__SWIG_0_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))))
2669 return swig_r
2670 }
2671
2672 func NewFaceId__SWIG_1(arg1 FaceEmbedder, arg2 LicenseManager) (_swig_ret FaceId) {
2673 var swig_r FaceId
2674 _swig_i_0 := arg1.Swigcptr()
2675 _swig_i_1 := arg2.Swigcptr()
2676 swig_r = (FaceId)(SwigcptrFaceId(C._wrap_new_FaceId__SWIG_1_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1))))
2677 return swig_r
2678 }
2679
2680 func NewFaceId(a ...interface{}) FaceId {
2681 argc := len(a)
2682 if argc == 1 {
2683 return NewFaceId__SWIG_0(a[0].(LicenseManager))
2684 }
2685 if argc == 2 {
2686 return NewFaceId__SWIG_1(a[0].(FaceEmbedder), a[1].(LicenseManager))
2687 }
2688 panic("No match for overloaded function call")
2689 }
2690
2691 func (arg1 SwigcptrFaceId) Predict__SWIG_0(arg2 Image) (_swig_ret FaceIdResult) {
2692 var swig_r FaceIdResult
2693 _swig_i_0 := arg1
2694 _swig_i_1 := arg2.Swigcptr()
2695 swig_r = (FaceIdResult)(SwigcptrFaceIdResult(C._wrap_FaceId_Predict__SWIG_0_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1))))
2696 return swig_r
2697 }
2698
2699 func (arg1 SwigcptrFaceId) Predict__SWIG_1(arg2 Image, arg3 float32) (_swig_ret FaceIdResult) {
2700 var swig_r FaceIdResult
2701 _swig_i_0 := arg1
2702 _swig_i_1 := arg2.Swigcptr()
2703 _swig_i_2 := arg3
2704 swig_r = (FaceIdResult)(SwigcptrFaceIdResult(C._wrap_FaceId_Predict__SWIG_1_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1), C.float(_swig_i_2))))
2705 return swig_r
2706 }
2707
2708 func (p SwigcptrFaceId) Predict(a ...interface{}) FaceIdResult {
2709 argc := len(a)
2710 if argc == 1 {
2711 return p.Predict__SWIG_0(a[0].(Image))
2712 }
2713 if argc == 2 {
2714 return p.Predict__SWIG_1(a[0].(Image), a[1].(float32))
2715 }
2716 panic("No match for overloaded function call")
2717 }
2718
2719 func (arg1 SwigcptrFaceId) PredictBatch__SWIG_0(arg2 MultiImage) (_swig_ret FaceIdResultVector) {
2720 var swig_r FaceIdResultVector
2721 _swig_i_0 := arg1
2722 _swig_i_1 := arg2.Swigcptr()
2723 swig_r = (FaceIdResultVector)(SwigcptrFaceIdResultVector(C._wrap_FaceId_PredictBatch__SWIG_0_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1))))
2724 return swig_r
2725 }
2726
2727 func (arg1 SwigcptrFaceId) PredictBatch__SWIG_1(arg2 MultiImage, arg3 float32) (_swig_ret FaceIdResultVector) {
2728 var swig_r FaceIdResultVector
2729 _swig_i_0 := arg1
2730 _swig_i_1 := arg2.Swigcptr()
2731 _swig_i_2 := arg3
2732 swig_r = (FaceIdResultVector)(SwigcptrFaceIdResultVector(C._wrap_FaceId_PredictBatch__SWIG_1_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1), C.float(_swig_i_2))))
2733 return swig_r
2734 }
2735
2736 func (p SwigcptrFaceId) PredictBatch(a ...interface{}) FaceIdResultVector {
2737 argc := len(a)
2738 if argc == 1 {
2739 return p.PredictBatch__SWIG_0(a[0].(MultiImage))
2740 }
2741 if argc == 2 {
2742 return p.PredictBatch__SWIG_1(a[0].(MultiImage), a[1].(float32))
2743 }
2744 panic("No match for overloaded function call")
2745 }
2746
2747 func (arg1 SwigcptrFaceId) IsTheSamePersonImg__SWIG_0(arg2 Image, arg3 Image) (_swig_ret bool) {
2748 var swig_r bool
2749 _swig_i_0 := arg1
2750 _swig_i_1 := arg2.Swigcptr()
2751 _swig_i_2 := arg3.Swigcptr()
2752 swig_r = (bool)(C._wrap_FaceId_IsTheSamePersonImg__SWIG_0_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1), C.uintptr_t(_swig_i_2)))
2753 return swig_r
2754 }
2755
2756 func (arg1 SwigcptrFaceId) IsTheSamePersonImg__SWIG_1(arg2 Image, arg3 Image, arg4 float32) (_swig_ret bool) {
2757 var swig_r bool
2758 _swig_i_0 := arg1
2759 _swig_i_1 := arg2.Swigcptr()
2760 _swig_i_2 := arg3.Swigcptr()
2761 _swig_i_3 := arg4
2762 swig_r = (bool)(C._wrap_FaceId_IsTheSamePersonImg__SWIG_1_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1), C.uintptr_t(_swig_i_2), C.float(_swig_i_3)))
2763 return swig_r
2764 }
2765
2766 func (p SwigcptrFaceId) IsTheSamePersonImg(a ...interface{}) bool {
2767 argc := len(a)
2768 if argc == 2 {
2769 return p.IsTheSamePersonImg__SWIG_0(a[0].(Image), a[1].(Image))
2770 }
2771 if argc == 3 {
2772 return p.IsTheSamePersonImg__SWIG_1(a[0].(Image), a[1].(Image), a[2].(float32))
2773 }
2774 panic("No match for overloaded function call")
2775 }
2776
2777 func (arg1 SwigcptrFaceId) IsTheSamePersonEmb__SWIG_0(arg2 EmbeddingArray, arg3 Image) (_swig_ret SamePersonResult) {
2778 var swig_r SamePersonResult
2779 _swig_i_0 := arg1
2780 _swig_i_1 := arg2.Swigcptr()
2781 _swig_i_2 := arg3.Swigcptr()
2782 swig_r = (SamePersonResult)(SwigcptrSamePersonResult(C._wrap_FaceId_IsTheSamePersonEmb__SWIG_0_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1), C.uintptr_t(_swig_i_2))))
2783 return swig_r
2784 }
2785
2786 func (arg1 SwigcptrFaceId) IsTheSamePersonEmb__SWIG_1(arg2 EmbeddingArray, arg3 Image, arg4 float32) (_swig_ret SamePersonResult) {
2787 var swig_r SamePersonResult
2788 _swig_i_0 := arg1
2789 _swig_i_1 := arg2.Swigcptr()
2790 _swig_i_2 := arg3.Swigcptr()
2791 _swig_i_3 := arg4
2792 swig_r = (SamePersonResult)(SwigcptrSamePersonResult(C._wrap_FaceId_IsTheSamePersonEmb__SWIG_1_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1), C.uintptr_t(_swig_i_2), C.float(_swig_i_3))))
2793 return swig_r
2794 }
2795
2796 func (p SwigcptrFaceId) IsTheSamePersonEmb(a ...interface{}) SamePersonResult {
2797 argc := len(a)
2798 if argc == 2 {
2799 return p.IsTheSamePersonEmb__SWIG_0(a[0].(EmbeddingArray), a[1].(Image))
2800 }
2801 if argc == 3 {
2802 return p.IsTheSamePersonEmb__SWIG_1(a[0].(EmbeddingArray), a[1].(Image), a[2].(float32))
2803 }
2804 panic("No match for overloaded function call")
2805 }
2806
2807 func (arg1 SwigcptrFaceId) RegisterIdEmb(arg2 string, arg3 EmbeddingArray) (_swig_ret int) {
2808 var swig_r int
2809 _swig_i_0 := arg1
2810 _swig_i_1 := arg2
2811 _swig_i_2 := arg3.Swigcptr()
2812 swig_r = (int)(C._wrap_FaceId_RegisterIdEmb_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), *(*C.swig_type_50)(unsafe.Pointer(&_swig_i_1)), C.uintptr_t(_swig_i_2)))
2813 if Swig_escape_always_false {
2814 Swig_escape_val = arg2
2815 }
2816 return swig_r
2817 }
2818
2819 func (arg1 SwigcptrFaceId) RegisterIdImages(arg2 string, arg3 MultiImage, arg4 bool) (_swig_ret EmbeddingArray) {
2820 var swig_r EmbeddingArray
2821 _swig_i_0 := arg1
2822 _swig_i_1 := arg2
2823 _swig_i_2 := arg3.Swigcptr()
2824 _swig_i_3 := arg4
2825 swig_r = (EmbeddingArray)(SwigcptrEmbeddingArray(C._wrap_FaceId_RegisterIdImages_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), *(*C.swig_type_51)(unsafe.Pointer(&_swig_i_1)), C.uintptr_t(_swig_i_2), C._Bool(_swig_i_3))))
2826 if Swig_escape_always_false {
2827 Swig_escape_val = arg2
2828 }
2829 return swig_r
2830 }
2831
2832 func (arg1 SwigcptrFaceId) RegisterIdImage(arg2 string, arg3 Image) (_swig_ret EmbeddingArray) {
2833 var swig_r EmbeddingArray
2834 _swig_i_0 := arg1
2835 _swig_i_1 := arg2
2836 _swig_i_2 := arg3.Swigcptr()
2837 swig_r = (EmbeddingArray)(SwigcptrEmbeddingArray(C._wrap_FaceId_RegisterIdImage_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), *(*C.swig_type_52)(unsafe.Pointer(&_swig_i_1)), C.uintptr_t(_swig_i_2))))
2838 if Swig_escape_always_false {
2839 Swig_escape_val = arg2
2840 }
2841 return swig_r
2842 }
2843
2844 func (arg1 SwigcptrFaceId) UpdateEmbeddingDynamicallyImg(arg2 string, arg3 Image, arg4 EmbeddingArray) {
2845 _swig_i_0 := arg1
2846 _swig_i_1 := arg2
2847 _swig_i_2 := arg3.Swigcptr()
2848 _swig_i_3 := arg4.Swigcptr()
2849 C._wrap_FaceId_UpdateEmbeddingDynamicallyImg_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), *(*C.swig_type_53)(unsafe.Pointer(&_swig_i_1)), C.uintptr_t(_swig_i_2), C.uintptr_t(_swig_i_3))
2850 if Swig_escape_always_false {
2851 Swig_escape_val = arg2
2852 }
2853 }
2854
2855 func (arg1 SwigcptrFaceId) UpdateEmbeddingDynamicallyEmb(arg2 string, arg3 EmbeddingArray, arg4 EmbeddingArray) {
2856 _swig_i_0 := arg1
2857 _swig_i_1 := arg2
2858 _swig_i_2 := arg3.Swigcptr()
2859 _swig_i_3 := arg4.Swigcptr()
2860 C._wrap_FaceId_UpdateEmbeddingDynamicallyEmb_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), *(*C.swig_type_54)(unsafe.Pointer(&_swig_i_1)), C.uintptr_t(_swig_i_2), C.uintptr_t(_swig_i_3))
2861 if Swig_escape_always_false {
2862 Swig_escape_val = arg2
2863 }
2864 }
2865
2866 func (arg1 SwigcptrFaceId) UpdateEmbedding(arg2 string, arg3 EmbeddingArray) {
2867 _swig_i_0 := arg1
2868 _swig_i_1 := arg2
2869 _swig_i_2 := arg3.Swigcptr()
2870 C._wrap_FaceId_UpdateEmbedding_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), *(*C.swig_type_55)(unsafe.Pointer(&_swig_i_1)), C.uintptr_t(_swig_i_2))
2871 if Swig_escape_always_false {
2872 Swig_escape_val = arg2
2873 }
2874 }
2875
2876 func (arg1 SwigcptrFaceId) RemoveId(arg2 string) {
2877 _swig_i_0 := arg1
2878 _swig_i_1 := arg2
2879 C._wrap_FaceId_RemoveId_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), *(*C.swig_type_56)(unsafe.Pointer(&_swig_i_1)))
2880 if Swig_escape_always_false {
2881 Swig_escape_val = arg2
2882 }
2883 }
2884
2885 func (arg1 SwigcptrFaceId) GetIds() (_swig_ret StringVector) {
2886 var swig_r StringVector
2887 _swig_i_0 := arg1
2888 swig_r = (StringVector)(SwigcptrStringVector(C._wrap_FaceId_GetIds_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))))
2889 return swig_r
2890 }
2891
2892 func DeleteFaceId(arg1 FaceId) {
2893 _swig_i_0 := arg1.Swigcptr()
2894 C._wrap_delete_FaceId_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
2895 }
2896
2897 type FaceId interface {
2898 Swigcptr() uintptr
2899 SwigIsFaceId()
2900 Predict(a ...interface{}) FaceIdResult
2901 PredictBatch(a ...interface{}) FaceIdResultVector
2902 IsTheSamePersonImg(a ...interface{}) bool
2903 IsTheSamePersonEmb(a ...interface{}) SamePersonResult
2904 RegisterIdEmb(arg2 string, arg3 EmbeddingArray) (_swig_ret int)
2905 RegisterIdImages(arg2 string, arg3 MultiImage, arg4 bool) (_swig_ret EmbeddingArray)
2906 RegisterIdImage(arg2 string, arg3 Image) (_swig_ret EmbeddingArray)
2907 UpdateEmbeddingDynamicallyImg(arg2 string, arg3 Image, arg4 EmbeddingArray)
2908 UpdateEmbeddingDynamicallyEmb(arg2 string, arg3 EmbeddingArray, arg4 EmbeddingArray)
2909 UpdateEmbedding(arg2 string, arg3 EmbeddingArray)
2910 RemoveId(arg2 string)
2911 GetIds() (_swig_ret StringVector)
2912 }
2913
2914 type OneMLFaceFaceIdStatus int
2915 func _swig_getFaceIdStatus_Empty() (_swig_ret OneMLFaceFaceIdStatus) {
2916 var swig_r OneMLFaceFaceIdStatus
2917 swig_r = (OneMLFaceFaceIdStatus)(C._wrap_FaceIdStatus_Empty_face_86f062e835b3dd07())
2918 return swig_r
2919 }
2920
2921 var FaceIdStatus_Empty OneMLFaceFaceIdStatus = _swig_getFaceIdStatus_Empty()
2922 func _swig_getFaceIdStatus_Success() (_swig_ret OneMLFaceFaceIdStatus) {
2923 var swig_r OneMLFaceFaceIdStatus
2924 swig_r = (OneMLFaceFaceIdStatus)(C._wrap_FaceIdStatus_Success_face_86f062e835b3dd07())
2925 return swig_r
2926 }
2927
2928 var FaceIdStatus_Success OneMLFaceFaceIdStatus = _swig_getFaceIdStatus_Success()
2929 func _swig_getFaceIdStatus_Fail() (_swig_ret OneMLFaceFaceIdStatus) {
2930 var swig_r OneMLFaceFaceIdStatus
2931 swig_r = (OneMLFaceFaceIdStatus)(C._wrap_FaceIdStatus_Fail_face_86f062e835b3dd07())
2932 return swig_r
2933 }
2934
2935 var FaceIdStatus_Fail OneMLFaceFaceIdStatus = _swig_getFaceIdStatus_Fail()
2936 type SwigcptrFacePadResultVector uintptr
2937
2938 func (p SwigcptrFacePadResultVector) Swigcptr() uintptr {
2939 return (uintptr)(p)
2940 }
2941
2942 func (p SwigcptrFacePadResultVector) SwigIsFacePadResultVector() {
2943 }
2944
2945 func NewFacePadResultVector__SWIG_0() (_swig_ret FacePadResultVector) {
2946 var swig_r FacePadResultVector
2947 swig_r = (FacePadResultVector)(SwigcptrFacePadResultVector(C._wrap_new_FacePadResultVector__SWIG_0_face_86f062e835b3dd07()))
2948 return swig_r
2949 }
2950
2951 func NewFacePadResultVector__SWIG_1(arg1 int64) (_swig_ret FacePadResultVector) {
2952 var swig_r FacePadResultVector
2953 _swig_i_0 := arg1
2954 swig_r = (FacePadResultVector)(SwigcptrFacePadResultVector(C._wrap_new_FacePadResultVector__SWIG_1_face_86f062e835b3dd07(C.swig_type_57(_swig_i_0))))
2955 return swig_r
2956 }
2957
2958 func NewFacePadResultVector__SWIG_2(arg1 FacePadResultVector) (_swig_ret FacePadResultVector) {
2959 var swig_r FacePadResultVector
2960 _swig_i_0 := arg1.Swigcptr()
2961 swig_r = (FacePadResultVector)(SwigcptrFacePadResultVector(C._wrap_new_FacePadResultVector__SWIG_2_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))))
2962 return swig_r
2963 }
2964
2965 func NewFacePadResultVector(a ...interface{}) FacePadResultVector {
2966 argc := len(a)
2967 if argc == 0 {
2968 return NewFacePadResultVector__SWIG_0()
2969 }
2970 if argc == 1 {
2971 if _, ok := a[0].(int64); !ok {
2972 goto check_2
2973 }
2974 return NewFacePadResultVector__SWIG_1(a[0].(int64))
2975 }
2976 check_2:
2977 if argc == 1 {
2978 return NewFacePadResultVector__SWIG_2(a[0].(FacePadResultVector))
2979 }
2980 panic("No match for overloaded function call")
2981 }
2982
2983 func (arg1 SwigcptrFacePadResultVector) Size() (_swig_ret int64) {
2984 var swig_r int64
2985 _swig_i_0 := arg1
2986 swig_r = (int64)(C._wrap_FacePadResultVector_size_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
2987 return swig_r
2988 }
2989
2990 func (arg1 SwigcptrFacePadResultVector) Capacity() (_swig_ret int64) {
2991 var swig_r int64
2992 _swig_i_0 := arg1
2993 swig_r = (int64)(C._wrap_FacePadResultVector_capacity_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
2994 return swig_r
2995 }
2996
2997 func (arg1 SwigcptrFacePadResultVector) Reserve(arg2 int64) {
2998 _swig_i_0 := arg1
2999 _swig_i_1 := arg2
3000 C._wrap_FacePadResultVector_reserve_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.swig_type_60(_swig_i_1))
3001 }
3002
3003 func (arg1 SwigcptrFacePadResultVector) IsEmpty() (_swig_ret bool) {
3004 var swig_r bool
3005 _swig_i_0 := arg1
3006 swig_r = (bool)(C._wrap_FacePadResultVector_isEmpty_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
3007 return swig_r
3008 }
3009
3010 func (arg1 SwigcptrFacePadResultVector) Clear() {
3011 _swig_i_0 := arg1
3012 C._wrap_FacePadResultVector_clear_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
3013 }
3014
3015 func (arg1 SwigcptrFacePadResultVector) Add(arg2 FacePadResult) {
3016 _swig_i_0 := arg1
3017 _swig_i_1 := arg2.Swigcptr()
3018 C._wrap_FacePadResultVector_add_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1))
3019 }
3020
3021 func (arg1 SwigcptrFacePadResultVector) Get(arg2 int) (_swig_ret FacePadResult) {
3022 var swig_r FacePadResult
3023 _swig_i_0 := arg1
3024 _swig_i_1 := arg2
3025 swig_r = (FacePadResult)(SwigcptrFacePadResult(C._wrap_FacePadResultVector_get_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1))))
3026 return swig_r
3027 }
3028
3029 func (arg1 SwigcptrFacePadResultVector) Set(arg2 int, arg3 FacePadResult) {
3030 _swig_i_0 := arg1
3031 _swig_i_1 := arg2
3032 _swig_i_2 := arg3.Swigcptr()
3033 C._wrap_FacePadResultVector_set_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1), C.uintptr_t(_swig_i_2))
3034 }
3035
3036 func DeleteFacePadResultVector(arg1 FacePadResultVector) {
3037 _swig_i_0 := arg1.Swigcptr()
3038 C._wrap_delete_FacePadResultVector_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
3039 }
3040
3041 type FacePadResultVector interface {
3042 Swigcptr() uintptr
3043 SwigIsFacePadResultVector()
3044 Size() (_swig_ret int64)
3045 Capacity() (_swig_ret int64)
3046 Reserve(arg2 int64)
3047 IsEmpty() (_swig_ret bool)
3048 Clear()
3049 Add(arg2 FacePadResult)
3050 Get(arg2 int) (_swig_ret FacePadResult)
3051 Set(arg2 int, arg3 FacePadResult)
3052 }
3053
3054 type OneMLFacePadType int
3055 func _swig_getPadType_Rgb() (_swig_ret OneMLFacePadType) {
3056 var swig_r OneMLFacePadType
3057 swig_r = (OneMLFacePadType)(C._wrap_PadType_Rgb_face_86f062e835b3dd07())
3058 return swig_r
3059 }
3060
3061 var PadType_Rgb OneMLFacePadType = _swig_getPadType_Rgb()
3062 func _swig_getPadType_Paper() (_swig_ret OneMLFacePadType) {
3063 var swig_r OneMLFacePadType
3064 swig_r = (OneMLFacePadType)(C._wrap_PadType_Paper_face_86f062e835b3dd07())
3065 return swig_r
3066 }
3067
3068 var PadType_Paper OneMLFacePadType = _swig_getPadType_Paper()
3069 type SwigcptrFacePadResult uintptr
3070
3071 func (p SwigcptrFacePadResult) Swigcptr() uintptr {
3072 return (uintptr)(p)
3073 }
3074
3075 func (p SwigcptrFacePadResult) SwigIsFacePadResult() {
3076 }
3077
3078 func NewFacePadResult() (_swig_ret FacePadResult) {
3079 var swig_r FacePadResult
3080 swig_r = (FacePadResult)(SwigcptrFacePadResult(C._wrap_new_FacePadResult_face_86f062e835b3dd07()))
3081 return swig_r
3082 }
3083
3084 func (arg1 SwigcptrFacePadResult) GetSpoofProb() (_swig_ret float32) {
3085 var swig_r float32
3086 _swig_i_0 := arg1
3087 swig_r = (float32)(C._wrap_FacePadResult_GetSpoofProb_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
3088 return swig_r
3089 }
3090
3091 func (arg1 SwigcptrFacePadResult) IsSpoof() (_swig_ret bool) {
3092 var swig_r bool
3093 _swig_i_0 := arg1
3094 swig_r = (bool)(C._wrap_FacePadResult_IsSpoof_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
3095 return swig_r
3096 }
3097
3098 func (arg1 SwigcptrFacePadResult) GetReturnStatus() (_swig_ret int) {
3099 var swig_r int
3100 _swig_i_0 := arg1
3101 swig_r = (int)(C._wrap_FacePadResult_GetReturnStatus_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
3102 return swig_r
3103 }
3104
3105 func DeleteFacePadResult(arg1 FacePadResult) {
3106 _swig_i_0 := arg1.Swigcptr()
3107 C._wrap_delete_FacePadResult_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
3108 }
3109
3110 type FacePadResult interface {
3111 Swigcptr() uintptr
3112 SwigIsFacePadResult()
3113 GetSpoofProb() (_swig_ret float32)
3114 IsSpoof() (_swig_ret bool)
3115 GetReturnStatus() (_swig_ret int)
3116 }
3117
3118 type SwigcptrFacePad uintptr
3119
3120 func (p SwigcptrFacePad) Swigcptr() uintptr {
3121 return (uintptr)(p)
3122 }
3123
3124 func (p SwigcptrFacePad) SwigIsFacePad() {
3125 }
3126
3127 func NewFacePad(arg1 OneMLFacePadType, arg2 LicenseManager) (_swig_ret FacePad) {
3128 var swig_r FacePad
3129 _swig_i_0 := arg1
3130 _swig_i_1 := arg2.Swigcptr()
3131 swig_r = (FacePad)(SwigcptrFacePad(C._wrap_new_FacePad_face_86f062e835b3dd07(C.swig_intgo(_swig_i_0), C.uintptr_t(_swig_i_1))))
3132 return swig_r
3133 }
3134
3135 func (arg1 SwigcptrFacePad) ClassifyBatch__SWIG_0(arg2 MultiImage) (_swig_ret FacePadResultVector) {
3136 var swig_r FacePadResultVector
3137 _swig_i_0 := arg1
3138 _swig_i_1 := arg2.Swigcptr()
3139 swig_r = (FacePadResultVector)(SwigcptrFacePadResultVector(C._wrap_FacePad_ClassifyBatch__SWIG_0_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1))))
3140 return swig_r
3141 }
3142
3143 func (arg1 SwigcptrFacePad) ClassifyBatch__SWIG_1(arg2 MultiImage, arg3 float32) (_swig_ret FacePadResultVector) {
3144 var swig_r FacePadResultVector
3145 _swig_i_0 := arg1
3146 _swig_i_1 := arg2.Swigcptr()
3147 _swig_i_2 := arg3
3148 swig_r = (FacePadResultVector)(SwigcptrFacePadResultVector(C._wrap_FacePad_ClassifyBatch__SWIG_1_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1), C.float(_swig_i_2))))
3149 return swig_r
3150 }
3151
3152 func (p SwigcptrFacePad) ClassifyBatch(a ...interface{}) FacePadResultVector {
3153 argc := len(a)
3154 if argc == 1 {
3155 return p.ClassifyBatch__SWIG_0(a[0].(MultiImage))
3156 }
3157 if argc == 2 {
3158 return p.ClassifyBatch__SWIG_1(a[0].(MultiImage), a[1].(float32))
3159 }
3160 panic("No match for overloaded function call")
3161 }
3162
3163 func (arg1 SwigcptrFacePad) Classify__SWIG_0(arg2 Image) (_swig_ret FacePadResult) {
3164 var swig_r FacePadResult
3165 _swig_i_0 := arg1
3166 _swig_i_1 := arg2.Swigcptr()
3167 swig_r = (FacePadResult)(SwigcptrFacePadResult(C._wrap_FacePad_Classify__SWIG_0_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1))))
3168 return swig_r
3169 }
3170
3171 func (arg1 SwigcptrFacePad) Classify__SWIG_1(arg2 Image, arg3 float32) (_swig_ret FacePadResult) {
3172 var swig_r FacePadResult
3173 _swig_i_0 := arg1
3174 _swig_i_1 := arg2.Swigcptr()
3175 _swig_i_2 := arg3
3176 swig_r = (FacePadResult)(SwigcptrFacePadResult(C._wrap_FacePad_Classify__SWIG_1_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1), C.float(_swig_i_2))))
3177 return swig_r
3178 }
3179
3180 func (p SwigcptrFacePad) Classify(a ...interface{}) FacePadResult {
3181 argc := len(a)
3182 if argc == 1 {
3183 return p.Classify__SWIG_0(a[0].(Image))
3184 }
3185 if argc == 2 {
3186 return p.Classify__SWIG_1(a[0].(Image), a[1].(float32))
3187 }
3188 panic("No match for overloaded function call")
3189 }
3190
3191 func DeleteFacePad(arg1 FacePad) {
3192 _swig_i_0 := arg1.Swigcptr()
3193 C._wrap_delete_FacePad_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
3194 }
3195
3196 type FacePad interface {
3197 Swigcptr() uintptr
3198 SwigIsFacePad()
3199 ClassifyBatch(a ...interface{}) FacePadResultVector
3200 Classify(a ...interface{}) FacePadResult
3201 }
3202
3203 type OneMLFaceFacePadStatus int
3204 func _swig_getFacePadStatus_Empty() (_swig_ret OneMLFaceFacePadStatus) {
3205 var swig_r OneMLFaceFacePadStatus
3206 swig_r = (OneMLFaceFacePadStatus)(C._wrap_FacePadStatus_Empty_face_86f062e835b3dd07())
3207 return swig_r
3208 }
3209
3210 var FacePadStatus_Empty OneMLFaceFacePadStatus = _swig_getFacePadStatus_Empty()
3211 func _swig_getFacePadStatus_Success() (_swig_ret OneMLFaceFacePadStatus) {
3212 var swig_r OneMLFaceFacePadStatus
3213 swig_r = (OneMLFaceFacePadStatus)(C._wrap_FacePadStatus_Success_face_86f062e835b3dd07())
3214 return swig_r
3215 }
3216
3217 var FacePadStatus_Success OneMLFaceFacePadStatus = _swig_getFacePadStatus_Success()
3218 func _swig_getFacePadStatus_DigitalPadFail() (_swig_ret OneMLFaceFacePadStatus) {
3219 var swig_r OneMLFaceFacePadStatus
3220 swig_r = (OneMLFaceFacePadStatus)(C._wrap_FacePadStatus_DigitalPadFail_face_86f062e835b3dd07())
3221 return swig_r
3222 }
3223
3224 var FacePadStatus_DigitalPadFail OneMLFaceFacePadStatus = _swig_getFacePadStatus_DigitalPadFail()
3225 func _swig_getFacePadStatus_PaperPadFail() (_swig_ret OneMLFaceFacePadStatus) {
3226 var swig_r OneMLFaceFacePadStatus
3227 swig_r = (OneMLFaceFacePadStatus)(C._wrap_FacePadStatus_PaperPadFail_face_86f062e835b3dd07())
3228 return swig_r
3229 }
3230
3231 var FacePadStatus_PaperPadFail OneMLFaceFacePadStatus = _swig_getFacePadStatus_PaperPadFail()
3232 type SwigcptrUtils uintptr
3233
3234 func (p SwigcptrUtils) Swigcptr() uintptr {
3235 return (uintptr)(p)
3236 }
3237
3238 func (p SwigcptrUtils) SwigIsUtils() {
3239 }
3240
3241 func NewUtils(arg1 LicenseManager) (_swig_ret Utils) {
3242 var swig_r Utils
3243 _swig_i_0 := arg1.Swigcptr()
3244 swig_r = (Utils)(SwigcptrUtils(C._wrap_new_Utils_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))))
3245 return swig_r
3246 }
3247
3248 func (arg1 SwigcptrUtils) CropAlignFaceLandmark(arg2 Image, arg3 Landmark5) (_swig_ret Image) {
3249 var swig_r Image
3250 _swig_i_0 := arg1
3251 _swig_i_1 := arg2.Swigcptr()
3252 _swig_i_2 := arg3.Swigcptr()
3253 swig_r = (Image)(SwigcptrImage(C._wrap_Utils_CropAlignFaceLandmark_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1), C.uintptr_t(_swig_i_2))))
3254 return swig_r
3255 }
3256
3257 func (arg1 SwigcptrUtils) ReadImageCV(arg2 string) (_swig_ret Image) {
3258 var swig_r Image
3259 _swig_i_0 := arg1
3260 _swig_i_1 := arg2
3261 swig_r = (Image)(SwigcptrImage(C._wrap_Utils_ReadImageCV_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), *(*C.swig_type_61)(unsafe.Pointer(&_swig_i_1)))))
3262 if Swig_escape_always_false {
3263 Swig_escape_val = arg2
3264 }
3265 return swig_r
3266 }
3267
3268 func DeleteUtils(arg1 Utils) {
3269 _swig_i_0 := arg1.Swigcptr()
3270 C._wrap_delete_Utils_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
3271 }
3272
3273 type Utils interface {
3274 Swigcptr() uintptr
3275 SwigIsUtils()
3276 CropAlignFaceLandmark(arg2 Image, arg3 Landmark5) (_swig_ret Image)
3277 ReadImageCV(arg2 string) (_swig_ret Image)
3278 }
3279
3280 type OneMLLicenseActivationType int
3281 func _swig_getLicenseActivationType_NotFound() (_swig_ret OneMLLicenseActivationType) {
3282 var swig_r OneMLLicenseActivationType
3283 swig_r = (OneMLLicenseActivationType)(C._wrap_LicenseActivationType_NotFound_face_86f062e835b3dd07())
3284 return swig_r
3285 }
3286
3287 var LicenseActivationType_NotFound OneMLLicenseActivationType = _swig_getLicenseActivationType_NotFound()
3288 func _swig_getLicenseActivationType_KeyOnline() (_swig_ret OneMLLicenseActivationType) {
3289 var swig_r OneMLLicenseActivationType
3290 swig_r = (OneMLLicenseActivationType)(C._wrap_LicenseActivationType_KeyOnline_face_86f062e835b3dd07())
3291 return swig_r
3292 }
3293
3294 var LicenseActivationType_KeyOnline OneMLLicenseActivationType = _swig_getLicenseActivationType_KeyOnline()
3295 func _swig_getLicenseActivationType_TrialOnline() (_swig_ret OneMLLicenseActivationType) {
3296 var swig_r OneMLLicenseActivationType
3297 swig_r = (OneMLLicenseActivationType)(C._wrap_LicenseActivationType_TrialOnline_face_86f062e835b3dd07())
3298 return swig_r
3299 }
3300
3301 var LicenseActivationType_TrialOnline OneMLLicenseActivationType = _swig_getLicenseActivationType_TrialOnline()
3302 type OneMLLicenseStatus int
3303 func _swig_getLicenseStatus_Ok() (_swig_ret OneMLLicenseStatus) {
3304 var swig_r OneMLLicenseStatus
3305 swig_r = (OneMLLicenseStatus)(C._wrap_LicenseStatus_Ok_face_86f062e835b3dd07())
3306 return swig_r
3307 }
3308
3309 var LicenseStatus_Ok OneMLLicenseStatus = _swig_getLicenseStatus_Ok()
3310 func _swig_getLicenseStatus_Error() (_swig_ret OneMLLicenseStatus) {
3311 var swig_r OneMLLicenseStatus
3312 swig_r = (OneMLLicenseStatus)(C._wrap_LicenseStatus_Error_face_86f062e835b3dd07())
3313 return swig_r
3314 }
3315
3316 var LicenseStatus_Error OneMLLicenseStatus = _swig_getLicenseStatus_Error()
3317 func _swig_getLicenseStatus_Expired() (_swig_ret OneMLLicenseStatus) {
3318 var swig_r OneMLLicenseStatus
3319 swig_r = (OneMLLicenseStatus)(C._wrap_LicenseStatus_Expired_face_86f062e835b3dd07())
3320 return swig_r
3321 }
3322
3323 var LicenseStatus_Expired OneMLLicenseStatus = _swig_getLicenseStatus_Expired()
3324 func _swig_getLicenseStatus_Suspended() (_swig_ret OneMLLicenseStatus) {
3325 var swig_r OneMLLicenseStatus
3326 swig_r = (OneMLLicenseStatus)(C._wrap_LicenseStatus_Suspended_face_86f062e835b3dd07())
3327 return swig_r
3328 }
3329
3330 var LicenseStatus_Suspended OneMLLicenseStatus = _swig_getLicenseStatus_Suspended()
3331 type SwigcptrLicenseManager uintptr
3332
3333 func (p SwigcptrLicenseManager) Swigcptr() uintptr {
3334 return (uintptr)(p)
3335 }
3336
3337 func (p SwigcptrLicenseManager) SwigIsLicenseManager() {
3338 }
3339
3340 func NewLicenseManager__SWIG_0() (_swig_ret LicenseManager) {
3341 var swig_r LicenseManager
3342 swig_r = (LicenseManager)(SwigcptrLicenseManager(C._wrap_new_LicenseManager__SWIG_0_face_86f062e835b3dd07()))
3343 return swig_r
3344 }
3345
3346 func DeleteLicenseManager(arg1 LicenseManager) {
3347 _swig_i_0 := arg1.Swigcptr()
3348 C._wrap_delete_LicenseManager_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
3349 }
3350
3351 func NewLicenseManager__SWIG_1(arg1 LicenseManager) (_swig_ret LicenseManager) {
3352 var swig_r LicenseManager
3353 _swig_i_0 := arg1.Swigcptr()
3354 swig_r = (LicenseManager)(SwigcptrLicenseManager(C._wrap_new_LicenseManager__SWIG_1_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))))
3355 return swig_r
3356 }
3357
3358 func NewLicenseManager(a ...interface{}) LicenseManager {
3359 argc := len(a)
3360 if argc == 0 {
3361 return NewLicenseManager__SWIG_0()
3362 }
3363 if argc == 1 {
3364 return NewLicenseManager__SWIG_1(a[0].(LicenseManager))
3365 }
3366 panic("No match for overloaded function call")
3367 }
3368
3369 func (arg1 SwigcptrLicenseManager) SetKey(arg2 string) {
3370 _swig_i_0 := arg1
3371 _swig_i_1 := arg2
3372 C._wrap_LicenseManager_SetKey_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), *(*C.swig_type_62)(unsafe.Pointer(&_swig_i_1)))
3373 if Swig_escape_always_false {
3374 Swig_escape_val = arg2
3375 }
3376 }
3377
3378 func (arg1 SwigcptrLicenseManager) GetKey() (_swig_ret string) {
3379 var swig_r string
3380 _swig_i_0 := arg1
3381 swig_r_p := C._wrap_LicenseManager_GetKey_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
3382 swig_r = *(*string)(unsafe.Pointer(&swig_r_p))
3383 var swig_r_1 string
3384 swig_r_1 = swigCopyString(swig_r)
3385 return swig_r_1
3386 }
3387
3388 func (arg1 SwigcptrLicenseManager) ActivateKey() (_swig_ret OneMLLicenseStatus) {
3389 var swig_r OneMLLicenseStatus
3390 _swig_i_0 := arg1
3391 swig_r = (OneMLLicenseStatus)(C._wrap_LicenseManager_ActivateKey_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
3392 return swig_r
3393 }
3394
3395 func (arg1 SwigcptrLicenseManager) ActivateTrial() (_swig_ret OneMLLicenseStatus) {
3396 var swig_r OneMLLicenseStatus
3397 _swig_i_0 := arg1
3398 swig_r = (OneMLLicenseStatus)(C._wrap_LicenseManager_ActivateTrial_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
3399 return swig_r
3400 }
3401
3402 func (arg1 SwigcptrLicenseManager) GetMachineCode() (_swig_ret string) {
3403 var swig_r string
3404 _swig_i_0 := arg1
3405 swig_r_p := C._wrap_LicenseManager_GetMachineCode_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
3406 swig_r = *(*string)(unsafe.Pointer(&swig_r_p))
3407 var swig_r_1 string
3408 swig_r_1 = swigCopyString(swig_r)
3409 return swig_r_1
3410 }
3411
3412 func (arg1 SwigcptrLicenseManager) IsTrial() (_swig_ret bool) {
3413 var swig_r bool
3414 _swig_i_0 := arg1
3415 swig_r = (bool)(C._wrap_LicenseManager_IsTrial_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
3416 return swig_r
3417 }
3418
3419 func (arg1 SwigcptrLicenseManager) ValidateActivation() (_swig_ret OneMLLicenseStatus) {
3420 var swig_r OneMLLicenseStatus
3421 _swig_i_0 := arg1
3422 swig_r = (OneMLLicenseStatus)(C._wrap_LicenseManager_ValidateActivation_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
3423 return swig_r
3424 }
3425
3426 func (arg1 SwigcptrLicenseManager) GetActivationType() (_swig_ret OneMLLicenseActivationType) {
3427 var swig_r OneMLLicenseActivationType
3428 _swig_i_0 := arg1
3429 swig_r = (OneMLLicenseActivationType)(C._wrap_LicenseManager_GetActivationType_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
3430 return swig_r
3431 }
3432
3433 func (arg1 SwigcptrLicenseManager) GetActivationExpiryDate() (_swig_ret uint64) {
3434 var swig_r uint64
3435 _swig_i_0 := arg1
3436 swig_r = (uint64)(C._wrap_LicenseManager_GetActivationExpiryDate_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
3437 return swig_r
3438 }
3439
3440 func (arg1 SwigcptrLicenseManager) GetActivationSuspendedDate() (_swig_ret uint64) {
3441 var swig_r uint64
3442 _swig_i_0 := arg1
3443 swig_r = (uint64)(C._wrap_LicenseManager_GetActivationSuspendedDate_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
3444 return swig_r
3445 }
3446
3447 type LicenseManager interface {
3448 Swigcptr() uintptr
3449 SwigIsLicenseManager()
3450 SetKey(arg2 string)
3451 GetKey() (_swig_ret string)
3452 ActivateKey() (_swig_ret OneMLLicenseStatus)
3453 ActivateTrial() (_swig_ret OneMLLicenseStatus)
3454 GetMachineCode() (_swig_ret string)
3455 IsTrial() (_swig_ret bool)
3456 ValidateActivation() (_swig_ret OneMLLicenseStatus)
3457 GetActivationType() (_swig_ret OneMLLicenseActivationType)
3458 GetActivationExpiryDate() (_swig_ret uint64)
3459 GetActivationSuspendedDate() (_swig_ret uint64)
3460 }
3461
3462 type SwigcptrEKYCOps uintptr
3463
3464 func (p SwigcptrEKYCOps) Swigcptr() uintptr {
3465 return (uintptr)(p)
3466 }
3467
3468 func (p SwigcptrEKYCOps) SwigIsEKYCOps() {
3469 }
3470
3471 func (arg1 SwigcptrEKYCOps) SetBlur_check(arg2 bool) {
3472 _swig_i_0 := arg1
3473 _swig_i_1 := arg2
3474 C._wrap_EKYCOps_blur_check_set_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C._Bool(_swig_i_1))
3475 }
3476
3477 func (arg1 SwigcptrEKYCOps) GetBlur_check() (_swig_ret bool) {
3478 var swig_r bool
3479 _swig_i_0 := arg1
3480 swig_r = (bool)(C._wrap_EKYCOps_blur_check_get_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
3481 return swig_r
3482 }
3483
3484 func (arg1 SwigcptrEKYCOps) SetFace_blur_check(arg2 bool) {
3485 _swig_i_0 := arg1
3486 _swig_i_1 := arg2
3487 C._wrap_EKYCOps_face_blur_check_set_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C._Bool(_swig_i_1))
3488 }
3489
3490 func (arg1 SwigcptrEKYCOps) GetFace_blur_check() (_swig_ret bool) {
3491 var swig_r bool
3492 _swig_i_0 := arg1
3493 swig_r = (bool)(C._wrap_EKYCOps_face_blur_check_get_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
3494 return swig_r
3495 }
3496
3497 func (arg1 SwigcptrEKYCOps) SetPad_check(arg2 bool) {
3498 _swig_i_0 := arg1
3499 _swig_i_1 := arg2
3500 C._wrap_EKYCOps_pad_check_set_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C._Bool(_swig_i_1))
3501 }
3502
3503 func (arg1 SwigcptrEKYCOps) GetPad_check() (_swig_ret bool) {
3504 var swig_r bool
3505 _swig_i_0 := arg1
3506 swig_r = (bool)(C._wrap_EKYCOps_pad_check_get_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
3507 return swig_r
3508 }
3509
3510 func (arg1 SwigcptrEKYCOps) SetPose_check(arg2 bool) {
3511 _swig_i_0 := arg1
3512 _swig_i_1 := arg2
3513 C._wrap_EKYCOps_pose_check_set_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C._Bool(_swig_i_1))
3514 }
3515
3516 func (arg1 SwigcptrEKYCOps) GetPose_check() (_swig_ret bool) {
3517 var swig_r bool
3518 _swig_i_0 := arg1
3519 swig_r = (bool)(C._wrap_EKYCOps_pose_check_get_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
3520 return swig_r
3521 }
3522
3523 func NewEKYCOps__SWIG_0() (_swig_ret EKYCOps) {
3524 var swig_r EKYCOps
3525 swig_r = (EKYCOps)(SwigcptrEKYCOps(C._wrap_new_EKYCOps__SWIG_0_face_86f062e835b3dd07()))
3526 return swig_r
3527 }
3528
3529 func NewEKYCOps__SWIG_1(arg1 bool) (_swig_ret EKYCOps) {
3530 var swig_r EKYCOps
3531 _swig_i_0 := arg1
3532 swig_r = (EKYCOps)(SwigcptrEKYCOps(C._wrap_new_EKYCOps__SWIG_1_face_86f062e835b3dd07(C._Bool(_swig_i_0))))
3533 return swig_r
3534 }
3535
3536 func NewEKYCOps__SWIG_2(arg1 bool, arg2 bool, arg3 bool, arg4 bool) (_swig_ret EKYCOps) {
3537 var swig_r EKYCOps
3538 _swig_i_0 := arg1
3539 _swig_i_1 := arg2
3540 _swig_i_2 := arg3
3541 _swig_i_3 := arg4
3542 swig_r = (EKYCOps)(SwigcptrEKYCOps(C._wrap_new_EKYCOps__SWIG_2_face_86f062e835b3dd07(C._Bool(_swig_i_0), C._Bool(_swig_i_1), C._Bool(_swig_i_2), C._Bool(_swig_i_3))))
3543 return swig_r
3544 }
3545
3546 func NewEKYCOps(a ...interface{}) EKYCOps {
3547 argc := len(a)
3548 if argc == 0 {
3549 return NewEKYCOps__SWIG_0()
3550 }
3551 if argc == 1 {
3552 return NewEKYCOps__SWIG_1(a[0].(bool))
3553 }
3554 if argc == 4 {
3555 return NewEKYCOps__SWIG_2(a[0].(bool), a[1].(bool), a[2].(bool), a[3].(bool))
3556 }
3557 panic("No match for overloaded function call")
3558 }
3559
3560 func DeleteEKYCOps(arg1 EKYCOps) {
3561 _swig_i_0 := arg1.Swigcptr()
3562 C._wrap_delete_EKYCOps_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
3563 }
3564
3565 type EKYCOps interface {
3566 Swigcptr() uintptr
3567 SwigIsEKYCOps()
3568 SetBlur_check(arg2 bool)
3569 GetBlur_check() (_swig_ret bool)
3570 SetFace_blur_check(arg2 bool)
3571 GetFace_blur_check() (_swig_ret bool)
3572 SetPad_check(arg2 bool)
3573 GetPad_check() (_swig_ret bool)
3574 SetPose_check(arg2 bool)
3575 GetPose_check() (_swig_ret bool)
3576 }
3577
3578 type SwigcptrEKYCResult uintptr
3579
3580 func (p SwigcptrEKYCResult) Swigcptr() uintptr {
3581 return (uintptr)(p)
3582 }
3583
3584 func (p SwigcptrEKYCResult) SwigIsEKYCResult() {
3585 }
3586
3587 func NewEKYCResult() (_swig_ret EKYCResult) {
3588 var swig_r EKYCResult
3589 swig_r = (EKYCResult)(SwigcptrEKYCResult(C._wrap_new_EKYCResult_face_86f062e835b3dd07()))
3590 return swig_r
3591 }
3592
3593 func (arg1 SwigcptrEKYCResult) GetDistance() (_swig_ret float32) {
3594 var swig_r float32
3595 _swig_i_0 := arg1
3596 swig_r = (float32)(C._wrap_EKYCResult_GetDistance_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
3597 return swig_r
3598 }
3599
3600 func (arg1 SwigcptrEKYCResult) IsSamePerson() (_swig_ret bool) {
3601 var swig_r bool
3602 _swig_i_0 := arg1
3603 swig_r = (bool)(C._wrap_EKYCResult_IsSamePerson_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
3604 return swig_r
3605 }
3606
3607 func (arg1 SwigcptrEKYCResult) Get_bbox_scores(arg2 *float32, arg3 *float32) {
3608 _swig_i_0 := arg1
3609 _swig_i_1 := arg2
3610 _swig_i_2 := arg3
3611 C._wrap_EKYCResult_get_bbox_scores_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.swig_voidp(_swig_i_1), C.swig_voidp(_swig_i_2))
3612 }
3613
3614 func (arg1 SwigcptrEKYCResult) GetBboxes() (_swig_ret BBoxVector) {
3615 var swig_r BBoxVector
3616 _swig_i_0 := arg1
3617 swig_r = (BBoxVector)(SwigcptrBBoxVector(C._wrap_EKYCResult_GetBboxes_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))))
3618 return swig_r
3619 }
3620
3621 func (arg1 SwigcptrEKYCResult) GetBboxScores() (_swig_ret FloatVector) {
3622 var swig_r FloatVector
3623 _swig_i_0 := arg1
3624 swig_r = (FloatVector)(SwigcptrFloatVector(C._wrap_EKYCResult_GetBboxScores_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))))
3625 return swig_r
3626 }
3627
3628 func (arg1 SwigcptrEKYCResult) GetLandmarks() (_swig_ret Landmarks5Vector) {
3629 var swig_r Landmarks5Vector
3630 _swig_i_0 := arg1
3631 swig_r = (Landmarks5Vector)(SwigcptrLandmarks5Vector(C._wrap_EKYCResult_GetLandmarks_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))))
3632 return swig_r
3633 }
3634
3635 func (arg1 SwigcptrEKYCResult) GetFacePoses() (_swig_ret IntVector) {
3636 var swig_r IntVector
3637 _swig_i_0 := arg1
3638 swig_r = (IntVector)(SwigcptrIntVector(C._wrap_EKYCResult_GetFacePoses_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))))
3639 return swig_r
3640 }
3641
3642 func (arg1 SwigcptrEKYCResult) GetReturnStatus() (_swig_ret int) {
3643 var swig_r int
3644 _swig_i_0 := arg1
3645 swig_r = (int)(C._wrap_EKYCResult_GetReturnStatus_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0)))
3646 return swig_r
3647 }
3648
3649 func DeleteEKYCResult(arg1 EKYCResult) {
3650 _swig_i_0 := arg1.Swigcptr()
3651 C._wrap_delete_EKYCResult_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
3652 }
3653
3654 type EKYCResult interface {
3655 Swigcptr() uintptr
3656 SwigIsEKYCResult()
3657 GetDistance() (_swig_ret float32)
3658 IsSamePerson() (_swig_ret bool)
3659 Get_bbox_scores(arg2 *float32, arg3 *float32)
3660 GetBboxes() (_swig_ret BBoxVector)
3661 GetBboxScores() (_swig_ret FloatVector)
3662 GetLandmarks() (_swig_ret Landmarks5Vector)
3663 GetFacePoses() (_swig_ret IntVector)
3664 GetReturnStatus() (_swig_ret int)
3665 }
3666
3667 type SwigcptrEKYC uintptr
3668
3669 func (p SwigcptrEKYC) Swigcptr() uintptr {
3670 return (uintptr)(p)
3671 }
3672
3673 func (p SwigcptrEKYC) SwigIsEKYC() {
3674 }
3675
3676 func NewEKYC__SWIG_0(arg1 LicenseManager) (_swig_ret EKYC) {
3677 var swig_r EKYC
3678 _swig_i_0 := arg1.Swigcptr()
3679 swig_r = (EKYC)(SwigcptrEKYC(C._wrap_new_EKYC__SWIG_0_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))))
3680 return swig_r
3681 }
3682
3683 func NewEKYC__SWIG_1(arg1 FaceDetector, arg2 FaceEmbedder, arg3 LicenseManager) (_swig_ret EKYC) {
3684 var swig_r EKYC
3685 _swig_i_0 := arg1.Swigcptr()
3686 _swig_i_1 := arg2.Swigcptr()
3687 _swig_i_2 := arg3.Swigcptr()
3688 swig_r = (EKYC)(SwigcptrEKYC(C._wrap_new_EKYC__SWIG_1_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1), C.uintptr_t(_swig_i_2))))
3689 return swig_r
3690 }
3691
3692 func NewEKYC__SWIG_2(arg1 FaceEmbedder, arg2 LicenseManager) (_swig_ret EKYC) {
3693 var swig_r EKYC
3694 _swig_i_0 := arg1.Swigcptr()
3695 _swig_i_1 := arg2.Swigcptr()
3696 swig_r = (EKYC)(SwigcptrEKYC(C._wrap_new_EKYC__SWIG_2_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1))))
3697 return swig_r
3698 }
3699
3700 func NewEKYC__SWIG_3(arg1 FaceDetector, arg2 LicenseManager) (_swig_ret EKYC) {
3701 var swig_r EKYC
3702 _swig_i_0 := arg1.Swigcptr()
3703 _swig_i_1 := arg2.Swigcptr()
3704 swig_r = (EKYC)(SwigcptrEKYC(C._wrap_new_EKYC__SWIG_3_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1))))
3705 return swig_r
3706 }
3707
3708 func NewEKYC(a ...interface{}) EKYC {
3709 argc := len(a)
3710 if argc == 1 {
3711 return NewEKYC__SWIG_0(a[0].(LicenseManager))
3712 }
3713 if argc == 2 {
3714 if _, ok := a[0].(SwigcptrFaceEmbedder); !ok {
3715 goto check_2
3716 }
3717 return NewEKYC__SWIG_2(a[0].(FaceEmbedder), a[1].(LicenseManager))
3718 }
3719 check_2:
3720 if argc == 2 {
3721 return NewEKYC__SWIG_3(a[0].(FaceDetector), a[1].(LicenseManager))
3722 }
3723 if argc == 3 {
3724 return NewEKYC__SWIG_1(a[0].(FaceDetector), a[1].(FaceEmbedder), a[2].(LicenseManager))
3725 }
3726 panic("No match for overloaded function call")
3727 }
3728
3729 func (arg1 SwigcptrEKYC) Run__SWIG_0(arg2 Image, arg3 Image, arg4 EKYCOps, arg5 EKYCOps) (_swig_ret EKYCResult) {
3730 var swig_r EKYCResult
3731 _swig_i_0 := arg1
3732 _swig_i_1 := arg2.Swigcptr()
3733 _swig_i_2 := arg3.Swigcptr()
3734 _swig_i_3 := arg4.Swigcptr()
3735 _swig_i_4 := arg5.Swigcptr()
3736 swig_r = (EKYCResult)(SwigcptrEKYCResult(C._wrap_EKYC_Run__SWIG_0_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1), C.uintptr_t(_swig_i_2), C.uintptr_t(_swig_i_3), C.uintptr_t(_swig_i_4))))
3737 return swig_r
3738 }
3739
3740 func (arg1 SwigcptrEKYC) Run__SWIG_1(arg2 Image, arg3 Image, arg4 EKYCOps, arg5 EKYCOps, arg6 float32) (_swig_ret EKYCResult) {
3741 var swig_r EKYCResult
3742 _swig_i_0 := arg1
3743 _swig_i_1 := arg2.Swigcptr()
3744 _swig_i_2 := arg3.Swigcptr()
3745 _swig_i_3 := arg4.Swigcptr()
3746 _swig_i_4 := arg5.Swigcptr()
3747 _swig_i_5 := arg6
3748 swig_r = (EKYCResult)(SwigcptrEKYCResult(C._wrap_EKYC_Run__SWIG_1_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1), C.uintptr_t(_swig_i_2), C.uintptr_t(_swig_i_3), C.uintptr_t(_swig_i_4), C.float(_swig_i_5))))
3749 return swig_r
3750 }
3751
3752 func (p SwigcptrEKYC) Run(a ...interface{}) EKYCResult {
3753 argc := len(a)
3754 if argc == 4 {
3755 return p.Run__SWIG_0(a[0].(Image), a[1].(Image), a[2].(EKYCOps), a[3].(EKYCOps))
3756 }
3757 if argc == 5 {
3758 return p.Run__SWIG_1(a[0].(Image), a[1].(Image), a[2].(EKYCOps), a[3].(EKYCOps), a[4].(float32))
3759 }
3760 panic("No match for overloaded function call")
3761 }
3762
3763 func DeleteEKYC(arg1 EKYC) {
3764 _swig_i_0 := arg1.Swigcptr()
3765 C._wrap_delete_EKYC_face_86f062e835b3dd07(C.uintptr_t(_swig_i_0))
3766 }
3767
3768 type EKYC interface {
3769 Swigcptr() uintptr
3770 SwigIsEKYC()
3771 Run(a ...interface{}) EKYCResult
3772 }
3773
3774 type OneMLFaceEKYCStatus int
3775 func _swig_getEKYCStatus_Empty() (_swig_ret OneMLFaceEKYCStatus) {
3776 var swig_r OneMLFaceEKYCStatus
3777 swig_r = (OneMLFaceEKYCStatus)(C._wrap_EKYCStatus_Empty_face_86f062e835b3dd07())
3778 return swig_r
3779 }
3780
3781 var EKYCStatus_Empty OneMLFaceEKYCStatus = _swig_getEKYCStatus_Empty()
3782 func _swig_getEKYCStatus_Success() (_swig_ret OneMLFaceEKYCStatus) {
3783 var swig_r OneMLFaceEKYCStatus
3784 swig_r = (OneMLFaceEKYCStatus)(C._wrap_EKYCStatus_Success_face_86f062e835b3dd07())
3785 return swig_r
3786 }
3787
3788 var EKYCStatus_Success OneMLFaceEKYCStatus = _swig_getEKYCStatus_Success()
3789 func _swig_getEKYCStatus_ImageBlurCheckFail() (_swig_ret OneMLFaceEKYCStatus) {
3790 var swig_r OneMLFaceEKYCStatus
3791 swig_r = (OneMLFaceEKYCStatus)(C._wrap_EKYCStatus_ImageBlurCheckFail_face_86f062e835b3dd07())
3792 return swig_r
3793 }
3794
3795 var EKYCStatus_ImageBlurCheckFail OneMLFaceEKYCStatus = _swig_getEKYCStatus_ImageBlurCheckFail()
3796 func _swig_getEKYCStatus_DigitalPadFail() (_swig_ret OneMLFaceEKYCStatus) {
3797 var swig_r OneMLFaceEKYCStatus
3798 swig_r = (OneMLFaceEKYCStatus)(C._wrap_EKYCStatus_DigitalPadFail_face_86f062e835b3dd07())
3799 return swig_r
3800 }
3801
3802 var EKYCStatus_DigitalPadFail OneMLFaceEKYCStatus = _swig_getEKYCStatus_DigitalPadFail()
3803 func _swig_getEKYCStatus_PaperPadFail() (_swig_ret OneMLFaceEKYCStatus) {
3804 var swig_r OneMLFaceEKYCStatus
3805 swig_r = (OneMLFaceEKYCStatus)(C._wrap_EKYCStatus_PaperPadFail_face_86f062e835b3dd07())
3806 return swig_r
3807 }
3808
3809 var EKYCStatus_PaperPadFail OneMLFaceEKYCStatus = _swig_getEKYCStatus_PaperPadFail()
3810 func _swig_getEKYCStatus_NoFaceFound() (_swig_ret OneMLFaceEKYCStatus) {
3811 var swig_r OneMLFaceEKYCStatus
3812 swig_r = (OneMLFaceEKYCStatus)(C._wrap_EKYCStatus_NoFaceFound_face_86f062e835b3dd07())
3813 return swig_r
3814 }
3815
3816 var EKYCStatus_NoFaceFound OneMLFaceEKYCStatus = _swig_getEKYCStatus_NoFaceFound()
3817 func _swig_getEKYCStatus_FaceBlurCheckFail() (_swig_ret OneMLFaceEKYCStatus) {
3818 var swig_r OneMLFaceEKYCStatus
3819 swig_r = (OneMLFaceEKYCStatus)(C._wrap_EKYCStatus_FaceBlurCheckFail_face_86f062e835b3dd07())
3820 return swig_r
3821 }
3822
3823 var EKYCStatus_FaceBlurCheckFail OneMLFaceEKYCStatus = _swig_getEKYCStatus_FaceBlurCheckFail()
3824 func _swig_getEKYCStatus_FaceNotFrontal() (_swig_ret OneMLFaceEKYCStatus) {
3825 var swig_r OneMLFaceEKYCStatus
3826 swig_r = (OneMLFaceEKYCStatus)(C._wrap_EKYCStatus_FaceNotFrontal_face_86f062e835b3dd07())
3827 return swig_r
3828 }
3829
3830 var EKYCStatus_FaceNotFrontal OneMLFaceEKYCStatus = _swig_getEKYCStatus_FaceNotFrontal()
3831
3832
View as plain text