feat(labelratio): new feature to monitor label ratio from auto and manual
this was designed more for dayton but could be used for all plants
This commit is contained in:
@@ -14,6 +14,7 @@ import { rfidTags } from "../../../../../database/schema/rfidTags.js";
|
||||
import { and, eq, gte, ne, sql } from "drizzle-orm";
|
||||
import { rfidReaders } from "../../../../../database/schema/rfidReaders.js";
|
||||
import { shouldSkipByCooldown } from "../../utils/rateLimit.js";
|
||||
import { autoLabelCreated } from "../../../ocp/controller/labeling/labelRatio.js";
|
||||
|
||||
export const wrapperStuff = async (tagData: any) => {
|
||||
console.log("WrapperTag", tagData[0].tag);
|
||||
@@ -152,7 +153,7 @@ export const wrapperStuff = async (tagData: any) => {
|
||||
const genlabel = await labelingProcess({
|
||||
line: lineNum.toString(),
|
||||
});
|
||||
|
||||
autoLabelCreated();
|
||||
console.log(genlabel);
|
||||
if (genlabel?.success) {
|
||||
const createPrintData = {
|
||||
|
||||
Reference in New Issue
Block a user