Comments (16)
I am currently testing Image search from this repo, but unfortunately, I am sending an empty request as per stated by the Support Engineer when doing tickets in the console. I am writing here as it was suggested by the Support engineer to raise an issue here instead.
My question is that, why is the Image search codes are empty compare to the Aliyun open api sdk or the downloadable library
Any way you can update the image search? As I really prefer to use composer when installing libraries.
If you have a question about Alibaba Cloud that is not a bug report or feature
request, please post it in https://selfservice.console.aliyun.com/ticket/createIndexQuestions posted to this repository will be closed.
Hello! Please visit: https://github.com/aliyun/openapi-sdk-php, you can install it using composer.
Usage:
AlibabaCloud:: imageSearch()->xxxxx
from openapi-sdk-php.
@Songshenzong I have used the said library and install it using composer. When sending request, the body is empty(as per the support engineer).
Please check the link here: It does not have the code to set image, or set category unlink in the downloadable library.
There is no specific code in it that is used for attaching data and image to the body
from openapi-sdk-php.
Hello, we will update the code, but you can customize parameters to send requests at any time. Address: https://github.com/aliyun/openapi-sdk-php-client#request
from openapi-sdk-php.
@Songshenzong May I know when will you do the update for image search?
This is the code I am using, based on the support engineer statement, the request body is empty.
Thank you.
from openapi-sdk-php.
@Songshenzong May I know when will you do the update for image search?
This is the code I am using, based on the support engineer statement, the request body is empty.
Thank you.
Hello, we still recommend that you view https://github.com/aliyun/openapi-sdk-php-client#request. You can set any parameters through Guzzle Request Options.
from openapi-sdk-php.
I have added the sdk php client using request and removed the sdk php installed via composer.
@Songshenzong Any chance you have better documentation? Especially for cust_content? Or can you please give me a working sample code how to add 2 images for a product? The screenshot above does not explain what is cust_content as it is not well explained in the documentation (refer below)
The instruction in alibaba image search instruction is really hard to understand.
questions from that link:
- what is crop?
- what is effective region?
- what is region?
- what is the use of region?
- the body for cust_content is really not clear with the delimiter?
- what is key 1? what do we use this for?
- what is value 1? what do we use this for?
I really need to get a sample of this service running, and really thankful if you can answer my inquiry.
from openapi-sdk-php.
@Songshenzong bump
from openapi-sdk-php.
@Songshenzong bump
Hello, this is not an issue with SDK but the use of the product, please provide your email address and we will arrange the relevant personnel to contact you. Or please submit a work order: https://selfservice.console.aliyun.com/ticket/createIndex
from openapi-sdk-php.
@Songshenzong bump
We released V1.0.6 which supports image search. Please update the SDK with composer update
. For the usage, please refer to the function test code: https://github.com/aliyun/openapi-sdk-php/blob/master/tests/ Feature/ImageSearchTest.php
from openapi-sdk-php.
@Songshenzong bump
Hello, Can you use it now?
from openapi-sdk-php.
Sorry for the delay, I am still working on it. I will keep you updated once I am done with the development and testing. Just need to come up with a simple prototype.
Thank you for the prompt update. Really appreciate it.
from openapi-sdk-php.
@Songshenzong It is working. Really good! Thank you.
May I ask how about multiple images per item in a request?
Also, when uploading some photos. I am getting this error:
UnsupportedPicPixels
What does this mean? What is the min size and what are the acceptable format?
from openapi-sdk-php.
@Songshenzong It is working. Really good! Thank you.
May I ask how about multiple images per item in a request?
Also, when uploading some photos. I am getting this error:
UnsupportedPicPixels
What does this mean? What is the min size and what are the acceptable format?
- We strongly recommend that you only upload one image at a time, and you will only be able to add one image to a single request in the future.
UnsupportedPicPixels
means that the size of the image does not meet the requirements of the interface.- The file size of each image must be at least 2 MB. Both the height and width must fall into the range from 200 pixels to 1024 pixels.
- For more restrictions and instructions on the interface, please refer to: https://www.alibabacloud.com/help/doc-detail/74408.htm?spm=a2c63.p38356.b99.22.59253b8eUnhRAM
from openapi-sdk-php.
@Songshenzong It is working. Really good! Thank you.
May I ask how about multiple images per item in a request?
Also, when uploading some photos. I am getting this error:
UnsupportedPicPixels
What does this mean? What is the min size and what are the acceptable format?
- We strongly recommend that you only upload one image at a time, and you will only be able to add one image to a single request in the future.
UnsupportedPicPixels
means that the size of the image does not meet the requirements of the interface.- The file size of each image must be at least 2 MB. Both the height and width must fall into the range from 200 pixels to 1024 pixels.
- For more restrictions and instructions on the interface, please refer to: https://www.alibabacloud.com/help/doc-detail/74408.htm?spm=a2c63.p38356.b99.22.59253b8eUnhRAM
Hello, can you use it now? Can you tell us the name of your company?
from openapi-sdk-php.
@Songshenzong Yes I can use it now.
Dropped you an email.
Thank you.
from openapi-sdk-php.
@Songshenzong Yes I can use it now.
Dropped you an email.
Thank you.
You are welcome, I'll close this issue.
from openapi-sdk-php.
Related Issues (20)
- describeFaceVerify接口地域选择cn-hongkong时提示:The request has failed due to a temporary failure of the server. HOT 1
- 阿里云 Composer 全量镜像链接不够详细 HOT 1
- Status code must be an integer value between 1xx and 5xx.
- demo 里面 vendor/autoload.php 这个到底是在 sdk 文件夹的哪个位置? HOT 1
- DTS API does not follow the shared region setting defined in DefaultClient
- 在PHP8环境中 MNS队列调用报告libxml_disable_entity_loader函数已被弃用
- 新版sdk示例如何让返回信息显示中文
- 希望能够兼容php8 HOT 1
- .....
- 你们的 API 响应规范这么玩的吗?驼峰也就算了,首字母还大写??? HOT 1
- ...... HOT 2
- SDK很多 很全 , 是否可以补充一下文档 HOT 2
- AlibabaCloud\Tea\Utils\Utils::isUnset(): Argument #1 ($value) cannot be passed by reference
- 各种PHP版本都装不上
- nlp调用一直返回 SignatureDoesNotMatch: Specified signature is not matched with our calculation
- 不支持php8.1 HOT 4
- When will it be compatible with php8?hurry up!!! HOT 3
- 什么时候集成最新的ICE的SDK.
- ROA Request invalid signature : resolveBody never add Content-MD5 if isset $this->options['body']
- 验证码 2.0 相关的代码还未更新
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openapi-sdk-php.