Abstract:
An image processing method includes detecting human skeleton key points of a character in an image, and for the to-be-processed image, generating a cropping region based on the human skeleton key points and a preset rule, and using the to-be-processed image selected by using the cropping region as an output object. The human skeleton key points and the preset rule are set based on photographing experience.
Abstract:
A code generating method, a compiler, a scheduling method, an apparatus and a scheduling system where the generated code is an executable code and applied to a heterogeneous system, and the heterogeneous system includes an accelerated processor and a central processing unit (CPU) and the code generating method includes acquiring, by a compiler, resource information of the accelerated processor and resource information of the CPU in order to generate an operable platform list, identifying, by the compiler, accelerable code from first user code, embedding, by the compiler, a hook function and an exception handling function before the accelerable code to form second user code, and compiling, by the compiler, the second user code to obtain the executable code and the executable code generated may automatically implement proper scheduling of processors during execution.
Abstract:
Embodiments of the present invention relate to a breakpoint information management method and a breakpoint information manager. The breakpoint information management method includes: obtaining, according to a query parameter obtained from a current application program and stored breakpoint information of at least one application program, breakpoint context information corresponding to the query parameter; calculating interest information according to the breakpoint context information; and returning the interest information to the current application program so that the current application program plays a corresponding electronic file. With the breakpoint information management method and the breakpoint information manager provided in the present invention, breakpoint information is deeply analyzed to obtain interest information, so that the breakpoint information is reused; and electronic files satisfying a user's interest characteristics are played for the user according to the interest information, thereby enlarging the application scope of the breakpoint information.
Abstract:
A method for callback processing in telecommunication capability opening, a telecommunication capability opening server, a client, and a telecommunication capability opening service system are disclosed. The method includes: receiving a telecommunication capability application programming interface (API) call request sent by a client, where the telecommunication capability API call request includes a callback information parameter; performing callback processing according to the telecommunication capability API call request, and generating a callback message according to the callback information parameter; and pushing the callback message to the client. The method may also include: initiating a telecommunication capability API call request to a telecommunication capability opening server, where the telecommunication capability API call request includes a callback information parameter; receiving a callback message pushed by the telecommunication capability opening server, and parsing the callback message; and determining, according to a parsing result, a function that callback processing needs, and calling the function.
Abstract:
A method for callback processing in telecommunication capability opening, a telecommunication capability opening server, a client, and a telecommunication capability opening service system are disclosed. The method includes: receiving a telecommunication capability application programming interface (API) call request sent by a client, where the telecommunication capability API call request includes a callback information parameter; performing callback processing according to the telecommunication capability API call request, and generating a callback message according to the callback information parameter; and pushing the callback message to the client. The method may also include: initiating a telecommunication capability API call request to a telecommunication capability opening server, where the telecommunication capability API call request includes a callback information parameter; receiving a callback message pushed by the telecommunication capability opening server, and parsing the callback message; and determining, according to a parsing result, a function that callback processing needs, and calling the function.