|
|
|
|
@ -177,3 +177,30 @@ Traceback (most recent call last):
|
|
|
|
|
raise HTTPError(http_error_msg, response=self)
|
|
|
|
|
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://api.remove.bg/v1.0/removebg
|
|
|
|
|
INFO:django.utils.autoreload:F:\imageprocess\imageProcess\basicFunction\views.py changed, reloading.
|
|
|
|
|
ERROR:django.request:Internal Server Error: /keying/
|
|
|
|
|
Traceback (most recent call last):
|
|
|
|
|
File "C:\Users\ASUS\anaconda3\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
|
|
|
|
|
response = get_response(request)
|
|
|
|
|
File "C:\Users\ASUS\anaconda3\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
|
|
|
|
|
response = wrapped_callback(request, *callback_args, **callback_kwargs)
|
|
|
|
|
File "C:\Users\ASUS\anaconda3\lib\site-packages\django\views\decorators\http.py", line 40, in inner
|
|
|
|
|
return func(request, *args, **kwargs)
|
|
|
|
|
File "F:\imageprocess\imageProcess\basicFunction\views.py", line 128, in keying
|
|
|
|
|
rmbg.remove_background_from_base64_img(image,new_file_name="output.jpg",bg_color=(0,0,0))
|
|
|
|
|
File "C:\Users\ASUS\anaconda3\lib\site-packages\removebg\removebg.py", line 72, in remove_background_from_base64_img
|
|
|
|
|
response.raise_for_status()
|
|
|
|
|
File "C:\Users\ASUS\anaconda3\lib\site-packages\requests\models.py", line 943, in raise_for_status
|
|
|
|
|
raise HTTPError(http_error_msg, response=self)
|
|
|
|
|
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://api.remove.bg/v1.0/removebg
|
|
|
|
|
ERROR:django.request:Internal Server Error: /smooth/
|
|
|
|
|
Traceback (most recent call last):
|
|
|
|
|
File "C:\Users\ASUS\anaconda3\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
|
|
|
|
|
response = get_response(request)
|
|
|
|
|
File "C:\Users\ASUS\anaconda3\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
|
|
|
|
|
response = wrapped_callback(request, *callback_args, **callback_kwargs)
|
|
|
|
|
File "C:\Users\ASUS\anaconda3\lib\site-packages\django\views\decorators\http.py", line 40, in inner
|
|
|
|
|
return func(request, *args, **kwargs)
|
|
|
|
|
File "F:\imageprocess\imageProcess\basicFunction\views.py", line 153, in smooth
|
|
|
|
|
num.append((imgarray[m][n])[0]) # 这里通过彩色图像第一个值计算中值也可以改为第二个或者第三个
|
|
|
|
|
IndexError: index 800 is out of bounds for axis 0 with size 800
|
|
|
|
|
INFO:django.utils.autoreload:F:\imageprocess\imageProcess\basicFunction\views.py changed, reloading.
|
|
|
|
|
|