I'm not a scientist, just a simple pinhole user, but my understanding is that the angular resolution of the subject is what gets limited by the pinhole's optical abberations, not merely the object's absolute size as compared to the pinhole size. Meaning that if, for instance, the pinhole 'blurr' was around a half a degree (a totally made-up number), then objects much larger than the pinhole could still be blurred if they were far enough away to subtend an angular view of a half a degree or smaller. That is what I believe is happening in your first image, as illustrated in the subsequent enlargement.
Regarding the overall 'quality' of a "photograph" (i.e. a silver print) made using a pinhole camera, it's much less objective and more subjective; much has to do with the film format size and degree of enlargement used. In your posted images, I am more much put off by the enlarged film emulsion granularity than I am by the degree of edge softness to the objects. And the rather soft contrast bothers me, too.
But I do not mean to critique your image, rather to use its attributes as a point of discussion around what influences the viewer's subjective sense of image quality. I've found that soft images, combined with emulsion granularity, is a show stopper, at least for me. You can do one OR the other - large format pinhole negatives contact printed to produce very nice images with no emulsion grain visible, OR very small formats, enlarged extremely high to accentuate the granularity effect to an almost pointellistic style. But mixing them both rarely works, in my opinion.
Another thing common to photography in general, that seems to also be true with pinhole, is the subject matter verses the final print size. Your landscape image posted here deserves a larger print size, but the small (medium format) negative won't handle extreme enlargement without the telltale emulsion granularity interfering with the edge-softness of the pinhole image.
Landscape subject: large film format, contact printed.
Intimate closeup subject: small film format, contact printed.