This commit is contained in:
trung09122002
2026-10-08 16:00:19 +07:00
parent af2a1ab177
commit 2c1773e8e8
4 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@@ -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():

Binary file not shown.

View File

@@ -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