Na that shouldn't be happening. You should see each dimension changing in value unless it's been running long enough to figure out that those are the only legit values. That would also though require the bounds you set to be tight enough to bottle it up into that area. Or there is just a bug in your code. On Sat, Jan 27, 2024 at 2:29 PM Balázs Bámer kolaloka@users.sourceforge.net wrote: Hi All, I have a problem using find_max_global. I'm using a search space with a dimension of 9, and as the optimizer...
Aside from making sure compiler optimizations are on, use smaller images. See also http://dlib.net/faq.html#Whyisdlibslow On Thu, Nov 16, 2023 at 6:33 AM Nikhil B bwajster@users.sourceforge.net wrote: The code below only runs at 1-2FPS. Need help making the necessary changes to improve the frame rate to about 10fps. The code is implemented on the jetson nano. ~~~ import face_recognition import cv2 import os import dlib import pickle import time print(cv2.version) fpsReport=0 scaleFactor=.25 Encodings=[]...
I just tried a bunch of values and found some that worked :) On Fri, Aug 5, 2022 at 1:14 AM John Puskin johnpuskin@users.sourceforge.net wrote: Hi Davis. I wonder how do you determine distance as 0.6, margin as 0.04 and dimension as 128 in face recognition? What do you think about for dimension 32, setting distance as 0.3 and margin as 0.02? Thank you for your valuable dlib library. About Margin, Distance and Dimension of Face Recognition Sent from sourceforge.net because you indicated interest in...
dlib C++ Library: 19.24 Released
http://dlib.net/faq.html#HowdoIsetthesizeofamatrixatruntime On Fri, Feb 4, 2022 at 2:35 AM "Kovács János" kovatsjanos@users.sourceforge.net wrote: Hello! I'm stucked with my work. I'm new to dlib. My questions concern (Q1.) the usage of dlib datastructures. My task is to perform spectral_clustering. I studied: http://dlib.net/kkmeans_ex.cpp.html. (Q2.) I have to separate training from the classification. Question 1 1 //In MyClass.cpp 2 void doTrain(size_t pClusterN, size_t pNR, size_t pNC, float...
See http://dlib.net/faq.html#HowdoIsetthesizeofamatrixatruntime
dlib C++ Library: 19.23 Released
Yeah find_min_box_constrained is what you want. On Mon, Nov 22, 2021 at 12:43 PM Gordon N. gordonn@users.sourceforge.net wrote: I have a non linear equation with one free parameter to solve. Is there a possibility in dlib to set a constraint on that parameter because the equation contains some logarithms and must not be smaller or equal to zero. My first guess is to use dlib::find_min_box_constrained with a lbfgs_search_strategy where the functional is the squared difference from the target result....