diff --git a/TODO b/TODO
index 579e6dc..32a4ddc 100644
--- a/TODO
+++ b/TODO
@@ -1,5 +1,7 @@
## GENERAL
+ * remove file_refimg_link stuff...
+
* refimgs need to be done via job_mgr:
- have local FS chooser of ref img, do html file upload to b/e -> job mgr -> save it to reference_images/
/
- remove refimg menu from top-level -> sub of Person (to view/mangage?)
@@ -12,11 +14,11 @@
- remove AI menu from top-level -> make a sub-of Person, and just have Match or AI
(Fix BUG-41 and bits of BUG-43 & TODO: many ref imgs on create person should span multiple rows)
- * with any job, count logs, then commit per 100 log lines of a job (and then ditch the commit in import dir for this)
-
* need AI job to:
log amount matched, amount comparing too -> count should actually be total files in 'entries' (as we can select random entries to check)
+ * with any job, count logs, then commit per 100 log lines of a job (and then ditch the commit in import dir for this)
+
* allow rotate of image (permanently on FS, so its right everywhere)
* improve photo browser -> view file, rather than just allowing browser to show image
@@ -26,13 +28,6 @@
* more OO goodness :)
## DB
- * Need to think about...
- file (image) -> has X faces, Y matches
- X == Y (optim: dont scan again)
- say X-Y == 1, then to optimise, we need to only check the missing
- face... at the moment, the DB structure is not that clever...
- (file_refimg_link --> file_refimg_link needs a face_num?)
-
* Dir can have date in the DB, so we can do Oldest/Newest dirs in Folder view
### BACKEND
diff --git a/files.py b/files.py
index 52de696..4639f75 100644
--- a/files.py
+++ b/files.py
@@ -74,15 +74,6 @@ class Entry(db.Model):
def __repr__(self):
return "".format(self.id, self.name, self.type, self.dir_details, self.file_details, self.in_dir)
-class FileRefimgLink(db.Model):
- __tablename__ = "file_refimg_link"
- file_id = db.Column(db.Integer, db.ForeignKey('file.eid'), unique=True, nullable=False, primary_key=True)
- refimg_id = db.Column(db.Integer, db.ForeignKey('refimg.id'), unique=True, nullable=False, primary_key=True)
- when_processed = db.Column(db.Float)
- matched = db.Column(db.Boolean)
- def __repr__(self):
- return f""
-class FileRefimgLink(Base):
- __tablename__ = "file_refimg_link"
- file_id = Column(Integer, ForeignKey('file.eid'), unique=True, nullable=False, primary_key=True)
- refimg_id = Column(Integer, ForeignKey('refimg.id'), unique=True, nullable=False, primary_key=True)
- when_processed = Column(Float)
- matched = Column(Boolean)
-
- def __repr__(self):
- return f"