update
This commit is contained in:
Binary file not shown.
@@ -7,7 +7,7 @@ from tqdm import tqdm
|
||||
|
||||
K = 4096 # số visual words (512–4096 tùy dữ liệu)
|
||||
MAX_FEATS_PER_IMG = 800
|
||||
IMG_GLOB = "/home/robotics/landmark_ws/src/landmarks_detection_ROS/dataset/train/images/*.jpg" # thư mục ảnh landmark
|
||||
IMG_GLOB = "../dataset/train/images/*.jpg" # thư mục ảnh landmark
|
||||
USE_SURF = False # True nếu bạn có opencv-contrib và chấp nhận license SURF
|
||||
|
||||
def create_detector():
|
||||
|
||||
BIN
codebook/idf.npy
BIN
codebook/idf.npy
Binary file not shown.
@@ -16,7 +16,7 @@ from ultralytics import YOLO
|
||||
# from sklearn.metrics.pairwise import cosine_similarity # Thay thế bằng numpy
|
||||
|
||||
# ===== messages (giữ đúng package/msg bạn đang dùng)
|
||||
from landmarks_detection.msg import landmark, landmark_array
|
||||
from landmarks_detection_ROS.msg import landmark, landmark_array
|
||||
|
||||
# ==== Config & paths (giữ logic gốc, thêm param mới)
|
||||
import rospkg
|
||||
|
||||
Reference in New Issue
Block a user