Gmgge / ImageAnalysisService

轻量模型的图像分析web服务,包括倾斜矫正OCR,公章(印章)检测+识别,车牌识别。api方案使用FastAPI+Gunicorn,提供gradio展示。
61 stars 10 forks source link

印章检测模型方便开源吗 #6

Open hsl20130659 opened 6 months ago

hsl20130659 commented 6 months ago

大佬好,印章检测模型方便开源吗?谢谢

Gmgge commented 6 months ago

近期在整理相关优化的点,检测方面会开源当前演示的模型,未来会根据大家反馈进来一步优化该检测模型。

zwshan commented 5 months ago

你好,当前体验页面对应的印章模型现在可以开源嘛

Gmgge commented 5 months ago

你是说的检测模型还是识别模型部分呢?检测模型将随着印章检测项目内容开源发布,目前已经发布到检测数据源开源状态,未来将安排印章检测算法的选择、训练技术文档,预训练模型开源。

Einsmai commented 4 months ago

@Gmgge 您好,在执行picodet.py时遇到报错内容: File "", line 40, in detect outs = multiclass_nms(pred_boxes, pred_scores, self.score_thresh, self.nms_thresh) File "./ImageAnalysisService/utils/compute/bbox_nms.py", line 43, in multiclass_nms bboxes_i = bboxes_i[scores_i > score_threshold] IndexError: boolean index did not match indexed array along dimension 0; dimension is 2704 but corresponding boolean dimension is 80

推测应该模型参数不一致导致的,请问可以提供data/seal/detect/picodet_s_416_coco_sim.onnx模型吗?学习研究使用,可以不是最优版本模型 邮箱:2269619867@qq.com;感谢

Gmgge commented 4 months ago

@Einsmai 前端时间有些忙,有很多事情抽不开时间;跟随更新计划,我会在未来更新印章检测的算法选择,训练脚本,预训练模型,有兴趣的话可以关注相关动态。

zealinux commented 4 months ago

@Gmgge 你好,能否分享 picodet_s_416_coco_sim.onnx这个模型文件,否则你的demo程序跑不起来,感谢🙏

邮箱:zealinux@gmail.com

GeoJX commented 4 months ago

检测模型可以开源码?邮箱:geojeo987@gmail.com 谢谢!

LMR2018 commented 4 months ago

印章检测模型能开源吗?1095818934@qq.com

maizhibin commented 4 months ago

缺少data/seal/detect/picodet_s_416_coco_sim.onnx 和 class_name.txt文件, 我找了一个其它模型picodet_s_416_coco.onnx 放进去,并且新建了一个名为class_name.txt的空文件(因为不知道原来是什么内容),程序能启动了,但运行印章检测报错,请看下是什么问题,谢谢。

以下为错误信息:

File "/Users/xxx/dev/ImageAnalysisService/utils/compute/bbox_nms.py", line 43, in multiclass_nms
    bboxes_i = bboxes_i[scores_i > score_threshold]
               │        │          └ 0.8
               │        └ array([0.04205468, 0.0171034 , 0.0371412 , 0.00926745, 0.04287231,
               │                 0.02035624, 0.0411329 , 0.0247429 , 0.02472773, 0.0...
               └ array([[0.00362119, 0.00189447, 0.00269186, ..., 0.00115931, 0.00106272,
                         0.00123394],
                        [0.00251988, 0.00142339,...

IndexError: boolean index did not match indexed array along dimension 0; dimension is 2704 but corresponding boolean dimension is 80
2024-05-09 15:27:23.352 | ERROR    | core.analysis_pipeline.analysis_pipeline:analysis_image:62 - 任务:seal_rec分析失败
2024-05-09 15:27:23.352 | INFO     | core.analysis_pipeline.analysis_pipeline:analysis_image:63 - 任务:seal_rec分析结束,耗时:0.05s
Anwang2020 commented 1 month ago

么么哒

guiciwushuang commented 2 weeks ago

您好,演示版的data/seal/detect/picodet_s_416_coco_sim.onnx模型和class_names.txt可以先开源一版中间训练结果的么,个人学习研究使用,不是最优版本模型就行,邮箱2359343301@qq.com,十分感谢!

linchuanXu commented 2 days ago

您好 @Gmgge,

非常感谢您和团队在印章检测项目上的努力和分享。我在学习和研究印章检测方面有很大的兴趣,希望获得您的检测模型文件,谢谢!