hg-ha / icp_query Goto Github PK
View Code? Open in Web Editor NEWICP备案查询,从工业和信息化部政务服务平台抓取实时数据,提供本地API,自动过验证码,支持Web、APP、小程序、快应用名称查询,违法违规应用查询,支持根据备案号查询,支持根据企业名称查询
Home Page: https://hg-ha.github.io/app/icpb
ICP备案查询,从工业和信息化部政务服务平台抓取实时数据,提供本地API,自动过验证码,支持Web、APP、小程序、快应用名称查询,违法违规应用查询,支持根据备案号查询,支持根据企业名称查询
Home Page: https://hg-ha.github.io/app/icpb
在宝塔项目里部署python项目后,访问500错误,第一次接触,不太懂这块,不知道能否做个教程?
使用docker搭建的
访问http://address:16181/query/web?search=qdedu.net
返回{"code": 122, "msg": "\u67e5\u8be2\u5931\u8d25"}
访问好几次都是这样的
一般4到30秒。
作者你好,如果想自己提高一下模型精度,方便实施吗?
错误信息
Traceback (most recent call last):
File "icpApi.py", line 13, in <module>
from ymicp import beian
File "/root/icpApi_20240225_yolo8/ymicp.py", line 13, in <module>
import cv2
File "/root/venv_icpapi/lib/python3.8/site-packages/cv2/__init__.py", line 181, in <module>
bootstrap()
File "/root/venv_icpapi/lib/python3.8/site-packages/cv2/__init__.py", line 153, in bootstrap
native_module = importlib.import_module("cv2")
File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
pip 安装完成后启动报错,在Python import cv2报错找到解决方案。我用的是第一个方案, 安装opencv-python-headless
模块,以安装所有相关的依赖项
pip3 uninstall opencv-python
pip3 install opencv-python-headless
成功手动安装
本地下载docker运行curl访问接口返回curl: (52) Empty reply from server 是还需要额外配置什么吗
[2024/01/12 11:21:09] ppocr WARNING: Since the angle classifier is not initialized, it will not be used during the forward process
尝试自己写了下 dockerfile,可以正常启动访问,但是使用一直提示 Cannot serialize non-str key False。
是有限制吗?还是说 docker 版不开源?
FROM python:3.8.18-slim-bullseye
WORKDIR /
ENV TZ=Asia/Shanghai
# Install necessary packages for building and running your application, including libglib2.0-0
RUN apt-get update -y && apt-get install -y \
gcc \
make \
python3-dev \
wget \
unzip \
libgl1-mesa-glx \
libglib2.0-0 \
&& wget https://github.com/HG-ha/ICP_Query/raw/main/2023-12-9_auto_icp-Api.zip \
&& unzip 2023-12-9_auto_icp-Api.zip && cd icp_Api \
&& pip install --upgrade pip \
&& pip install -r requirements.txt -i https://mirror.baidu.com/pypi/simple \
&& sed -i 's/127.0.0.1/0.0.0.0/g' /icp_Api/icpApi.py
CMD ["python", "/icp_Api/icpApi.py"]
可以返回中文结果吗
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.