You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
383 B
11 lines
383 B
from django.shortcuts import render # django的模板渲染包
|
|
|
|
# Initializing the imports
|
|
import numpy as np # 矩阵运算
|
|
import urllib # url解析
|
|
import json # json字符串使用
|
|
import cv2 # opencv包
|
|
import os # 执行操作系统命令
|
|
from django.views.decorators.csrf import csrf_exempt # 跨站点验证
|
|
from django.http import JsonResponse # json字符串返回
|