Scan the QR code to communicate with the project manager
We are waiting for your voice 24 hours a day on WeChat
Answer questions in this article/Technical consultation/Operation consultation/Technical advice/Internet communication
With the development of Internet technology and infrastructure, many scenario applications that used to be considered luxurious have now become very common, such as live video, short video, VR panorama, etc. It’s just VR panoramic view. It has been very popular in China this year, such as VR house viewing, VR tourist attractions, etc.
In China, the processing engines of many VR panoramic products are based on the krpano software written by foreign friends, and then use different development skills and tools at the application level plus expanded functional modules. For the VR projects we have participated in so far, krpano is used as the underlying core processing engine. We have developed several panoramic projects based on krpano, and currently we have encountered an extreme problem.
x01question
User feedback: There is no problem in uploading 20 pictures of about 20MB each at one time; the upload is done using Alibaba Cloud OSS. However, after the upload is successful, it gets stuck while waiting for the picture to be cut. If you upload a small number of pictures (even if the picture exceeds 100MB) or a large number of pictures, and each picture is very small, you can upload and cut the pictures to complete.
x02 analysis
When it comes to the image cutting process, the image must have been uploaded successfully, because the architecture project uses a third-party storage. The basic process of panoramic image processing is: Upload the original image to Alibaba Cloud OSS –> The server obtains the image from Alibaba Cloud OSS through CDN (it can also be directly transferred to the server locally in one step) –> krpano cuts the image and stores it temporarily or permanently on the server –> The image generated by the image cutting is uploaded to OSS, and each image path is recorded in the database –> The krpano algorithm is used to combine the images to generate the panorama we see.
Therefore, the image upload interface must be normal, regardless of whether the image is uploaded directly to the server locally or first uploaded to a third-party storage cloud platform such as Alibaba OSS; and the image cutting interface returns normal, which means that the image cutting process has begun to be executed; in addition, during development, it was considered that the upload and image cutting processing time would not be too short in this scenario, so a heartbeat processing was performed, and the interface was also normal.

We are waiting for your voice 24 hours a day on WeChat
Answer questions in this article/Technical consultation/Operation consultation/Technical advice/Internet communication