django中怎么截取的摄像头图片存到后端?

刚刚阅读1回复0
kewenda
kewenda
  • 管理员
  • 注册排名1
  • 经验值163520
  • 级别管理员
  • 主题32704
  • 回复0
楼主

用原生的 ImageField 搭配 CreateView 做。

刚起了个 demo 写了一下,若是你前端是用 base64 衬着为 html 的话,前端写起来确实比力费事。

给几个参考链接:

表单 API | Django 文档 | Django

FormData 对象的利用 - Web API 接口参考 | MDN

template<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title> <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script> {# 不建议那么写哈,demo 图便利,原生 JS 的恳求写起来比力操蛋 #}</head> <body> <div id="my-image"> <img src=data:image/gif;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wAARCADwAPADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AA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dfe/iXr9jXGiXG5v3bM275t1e6VC1lDL96GP/vmjiDh6tnVeNf2vLyxty2/4Jpg8x+pq0Ynz3qXg1dUt5rW4jWeGa3a3m3Ky7lZdu7b/AN9f9818g+BvgH+0p8FdGufDXwz+K9voXhi3nuLmPT73T4fNhbc27dujk+Vtu5W3bf8Ad+av1AXTrWJflt0/75ryD9pvxGvg34b6jJYRquqXyrYxsq/Mu7dub/vndXnYDJ8zyKMnQrxtLl6HTiMxp4z+LD4T8yk/aV/awmvvsq/GABlk8tpW0u1WNW3bfvfZ6reLv2rf2oPCV9NZyfGyG+kjX79rpdr5bNt+6rNbrU/iS1h0G3kjRlihX5Vi/wA/5/8AHdvhfjbWWnvGXb96v1unH3OaR8tzylI7ib9vj9p6JWZfivKyr/1DbP8A+R688+Ln7QHxS+PcGkQfEbxfN4js9Lkkmtbd4IYo1kb5WbbHGu75VX727+L+81cheSq8bRr8zbv7tU4083avy/3aUTpJI/3rLv27v/HqkkfYyxttX+9/n/P3qdI/2WNWXb83y/7tN0+ya6uo1+6u5dzNRH3gl7p//9k= alt="image-demo"> </div> <button id="post-btn">click</button> <script> function getCookie(name) { let cookieValue = null; if (document.cookie && document.cookie !== ) { const cookies = document.cookie.split(;); for (let i = 0; i < cookies.length; i++) { const cookie = cookies[i].trim(); // Does this cookie string begin with the name we want? if (cookie.substring(0, name.length + 1) === (name + =)) { cookieValue = decodeURIComponent(cookie.substring(name.length + 1)); break; } } } return cookieValue; } function convertBase64UrlToImgFile(urlData, fileName, fileType) { // 处置 base64 到 blob 的 function,网上胡乱拿的 var bytes = window.atob(urlData); var ab = new ArrayBuffer(bytes.length); var ia = new Int8Array(ab); var i; for (i = 0; i < bytes.length; i++) { ia[i] = bytes.charCodeAt(i); } var blob = new Blob([ab], {type: fileType}); blob.lastModifiedDate = new Date(); blob.name = fileName; return blob; } const csrftoken = getCookie(csrftoken); const my_image = document.querySelector(#my-image img) const post_btn = document.querySelector(#post-btn) post_btn.onclick = function () { const imageURI = my_image.src.replace(data:image/gif;base64,, ) let fileName = (new Date()).getTime() + ".jpeg"; //随机文件名 let imgfile = convertBase64UrlToImgFile(imageURI, fileName, image/jpeg); //转换成file let formData = new FormData(); formData.append(image, imgfile, fileName); formData.append(csrfmiddlewaretoken, csrftoken); request(formData) }; function request(form_data) { $.ajax({ url: , type: post, data: form_data, processData: false, // 不处置数据 contentType: false, // 不设置内容类型 success: function (response) { console.log(response) }, error: function (error) { console.log(error) } }) } </script> </body> </html>viewclass IndexView(CreateView): template_name = index.html model = ImageDemo fields = __all__ success_url = /

0
回帖 返回旅游

django中怎么截取的摄像头图片存到后端? 期待您的回复!

取消
载入表情清单……
载入颜色清单……
插入网络图片

取消确定

图片上传中
编辑器信息
提示信息